Class SoModifyViewVolumeElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoModifyViewVolumeElement
-
public class SoModifyViewVolumeElement extends SoElement
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 alsoSoOffscreenRenderArea
.- See Also:
PoBaseView
,SoOffscreenRenderArea
-
-
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 SbVec4f
get(SoState state)
Returns the current portion of the view volume from the state.static SbBox3f
getBox(SoState state)
Returns the current portion of the view volume from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static SbVec4f
getDefault()
Returns the default screen portion.static SbBox3f
getDefaultBox()
Returns the default screen portion.static int
getInfo(SoState state)
Gets an integer info.static SbVec3f[]
getWallCoordinates(SoState state)
Returns the current coordinates of the virtual window in the real world.static void
set(SoState state, SbBox3f portion)
Sets the current portion in the state to the given portion (left, bottom, right, top).static void
set(SoState state, SbVec4f portion)
Sets the current portion in the state to the given portion (left, bottom, right, top).static void
setInfo(SoState state, int info)
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 Detail
-
setInfo
public static void setInfo(SoState state, int info)
Sets an integer info.
-
getInfo
public static int getInfo(SoState state)
Gets an integer info.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
set
public static void set(SoState state, SbVec4f portion)
Sets the current portion in the state to the given portion (left, bottom, right, top).
-
getDefault
public static SbVec4f getDefault()
Returns the default screen portion.
-
set
public static void set(SoState state, SbBox3f portion)
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
public static boolean useWallCoordinates(SoState state)
Returns a boolean telling the Camera to compute a view volume using the wall coordinates.
-
getDefaultBox
public static SbBox3f getDefaultBox()
Returns the default screen portion.
-
getWallCoordinates
public static SbVec3f[] getWallCoordinates(SoState state)
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
public static SbVec4f get(SoState state)
Returns the current portion of the view volume from the state.
-
-