Class SoPickRayElement


  • public class SoPickRayElement
    extends SoElement
    Stores the current ray to use for picking. This element stores the current ray to use for picking. It contains the world space ray information in terms of an SbViewVolume. The projection point and view direction of the volume represent the ray itself. The width (which equals the height) represents the diameter of the picking circle in the near plane. The near and far planes represent the distances to the near and far planes between which valid intersections must lie.

    See Also:
    SoRayPickAction
    • Method Detail

      • get

        public static SbViewVolume get​(SoState state)
        Returns the current picking ray view volume from the state.
      • getClassStackIndex

        @Deprecated(since="9.3.0.0")
        public static int getClassStackIndex()
        Deprecated.
        As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *