Class SoViewVolumeElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoViewVolumeElement
-
public class SoViewVolumeElement extends SoReplacedElement
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 theSoViewVolumeElement
. An example of this is theSoDepthOffset
node. If you need these matrices, it is safer to access them through theSoViewingMatrixElement
andSoProjectionMatrixElement
. Cameras nodes do set the view volume and both matrix elements on a render traversal.- See Also:
SoCamera
,SoOrthographicCamera
,SoPerspectiveCamera
-
-
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 view volume from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static boolean
isSet(SoState state)
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 Detail
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
get
public static SbViewVolume get(SoState state)
Returns the current view volume from the state.
-
isSet
public static boolean isSet(SoState state)
Returns true if the view volume has been set in the state.
-
set
public static void set(SoState state, SoNode node, SbViewVolume viewVolume)
Sets the view volume in the state.
-
-