Class SoPickRayElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoPickRayElement
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:
-
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
Modifier and TypeMethodDescriptionstatic SbViewVolume
Returns the current picking ray view volume from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.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 Details
-
get
Returns the current picking ray view volume from the state. -
set
Sets the picking ray. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-