Stores a view volume subset. More...
#include <Inventor/elements/SoModifyViewVolumeElement.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
static void | set (SoState *state, const SbVec4f &portion) |
Sets the current portion in the state to the given portion (left, bottom, right, top). | |
static void | set (SoState *state, const SbBox3f &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 int | getInfo (SoState *state) |
Gets an integer info. | |
static const SbVec4f & | get (SoState *state) |
Returns the current portion of the view volume from the state. | |
static const SbBox3f & | getBox (SoState *state) |
Returns the current portion of the view volume from the state. | |
static void | getWallCoordinates (SoState *state, SbVec3f &lowerLeft, SbVec3f &lowerRight, SbVec3f &upperLeft) |
Returns the current coordinates of the virtual window in the real world. | |
static void | setWallCoordinates (SoState *state, SbVec3f lowerLeft, SbVec3f lowerRight, SbVec3f upperLeft) |
Sets the current coordinates of the virtual window in the real world. | |
static SbBool | useWallCoordinates (SoState *state) |
Returns a boolean telling the Camera to compute a view volume using the wall coordinates. | |
static SbVec4f | getDefault () |
Returns the default screen portion. | |
static SbBox3f | getDefaultBox () |
Returns the default screen portion. | |
static SoModifyViewVolumeElement * | getInstance (const SoState *state, SbBool &elemIsSet) |
Return the top (current) instance of the element in the state Note it does NOT cause cache dependency! It also casts away the const. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Additional Inherited Members | |
Public Member Functions inherited from SoElement | |
virtual void | push (SoState *state) |
Pushes element. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Pops element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging). | |
virtual SoType | getTypeId () const |
Returns type identifier for element instance. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
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.
PoBaseView, SoOffscreenRenderArea
Definition at line 49 of file SoModifyViewVolumeElement.h.
Returns the current portion of the view volume from the state.
Returns the current portion of the view volume from the state.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
inlinestatic |
Returns the default screen portion.
Definition at line 112 of file SoModifyViewVolumeElement.h.
|
inlinestatic |
Returns the default screen portion.
Definition at line 118 of file SoModifyViewVolumeElement.h.
|
static |
Gets an integer info.
|
static |
Return the top (current) instance of the element in the state Note it does NOT cause cache dependency! It also casts away the const.
|
static |
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.
Sets the current portion in the state to the given portion (left, bottom, right, top).
Sets the current portion in the state to the given portion (left, bottom, right, top).
|
static |
Sets an integer info.
|
static |
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.
Returns a boolean telling the Camera to compute a view volume using the wall coordinates.