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.
Inventor.ConstructorCommand
VERBOSE_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, push
dispose, getNativeResourceHandle
@Deprecated public static int getClassStackIndex()
public static SbViewVolume get(SoState state)
public static boolean isSet(SoState state)
public static void set(SoState state, SoNode node, SbViewVolume viewVolume)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com