Class SoViewVolumeElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoViewVolumeElement
Stores the current view volume.
This element stores the current view volume.
Warning Open Inventor does not guarantee that the view volume element corresponds to the current view and projection matrix elements used for rendering. A node could, for example, set the SoProjectionMatrixElement
but not the SoViewVolumeElement
. An example of this is the SoDepthOffset
node. If you need these matrices, it is safer to access them through the SoViewingMatrixElement
and SoProjectionMatrixElement
. Cameras nodes do set the view volume and both matrix elements on a render traversal.
- 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 view volume from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.static boolean
Returns true if the view volume has been set in the state.static void
set
(SoState state, SoNode node, SbViewVolume viewVolume) Sets the view volume in the state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
isSet
Returns true if the view volume has been set in the state. -
get
Returns the current view volume from the state. -
set
Sets the view volume in the state.
-