Class SoModifyViewVolumeElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoModifyViewVolumeElement
Stores a view volume subset.
This element stores a view volume subset. This element is used for "tiled" rendering, where we create a large image by rendering one tile (subimage) at a time. In this case we must "narrow" the view volume for each tile, without modifying the camera nodes in the scene graph. SoCamera.computeView uses this element to modify the view volume after other adjustments have been made. See also
SoOffscreenRenderArea
.
- 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 SbVec4f
Returns the current portion of the view volume from the state.static SbBox3f
Returns the current portion of the view volume from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.static SbVec4f
Returns the default screen portion.static SbBox3f
Returns the default screen portion.static int
Gets an integer info.static SbVec3f[]
getWallCoordinates
(SoState state) Returns the current coordinates of the virtual window in the real world.static void
Sets the current portion in the state to the given portion (left, bottom, right, top).static void
Sets the current portion in the state to the given portion (left, bottom, right, top).static void
Sets an integer info.static void
setWallCoordinates
(SoState state, SbVec3f lowerLeft, SbVec3f lowerRight, SbVec3f upperLeft) Sets the current coordinates of the virtual window in the real world.static boolean
useWallCoordinates
(SoState state) Returns a boolean telling the Camera to compute a view volume using the wall coordinates.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
setInfo
Sets an integer info. -
getInfo
Gets an integer info. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
set
Sets the current portion in the state to the given portion (left, bottom, right, top). -
getDefault
Returns the default screen portion. -
set
Sets the current portion in the state to the given portion (left, bottom, right, top). -
setWallCoordinates
public static void setWallCoordinates(SoState state, SbVec3f lowerLeft, SbVec3f lowerRight, SbVec3f upperLeft) Sets the current coordinates of the virtual window in the real world. MP: coordinates of the projection wall/window in real world i.e., relative to the tracking system base or reference frame. -
useWallCoordinates
Returns a boolean telling the Camera to compute a view volume using the wall coordinates. -
getDefaultBox
Returns the default screen portion. -
getWallCoordinates
Returns the current coordinates of the virtual window in the real world. MP: coordinates of the projection wall/window in real world i.e., relative to the tracking system base or reference frame. -
get
Returns the current portion of the view volume from the state. -
getBox
Returns the current portion of the view volume from the state.
-