Class SoPickRayElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.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 anSbViewVolume
. 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SbViewVolume
get(SoState state)
Returns the current picking ray view volume from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static void
set(SoState state, SbViewVolume volume)
Sets the picking ray.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
get
public static SbViewVolume get(SoState state)
Returns the current picking ray view volume from the state.
-
set
public static void set(SoState state, SbViewVolume volume)
Sets the picking ray.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
-