public class SoViewVolumeElement extends SoReplacedElement
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:
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Modifier and Type | Method and Description |
|---|---|
static SbViewVolume |
get(SoState state)
Returns the current view volume from the state.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
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.
|
getClassStackIndex, pop, pushdispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic static SbViewVolume get(SoState state)
@Deprecated public static int getClassStackIndex()
public static void set(SoState state, SoNode node, SbViewVolume viewVolume)
public static boolean isSet(SoState state)
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com