Stores a view volume subset. More...
#include <Inventor/elements/SoModifyViewVolumeElement.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, const SbVec4f &portion) |
static void | set (SoState *state, const SbBox3f &portion) |
static void | setInfo (SoState *state, int info) |
static int | getInfo (SoState *state) |
static const SbVec4f & | get (SoState *state) |
static const SbBox3f & | getBox (SoState *state) |
static void | getWallCoordinates (SoState *state, SbVec3f &lowerLeft, SbVec3f &lowerRight, SbVec3f &upperLeft) |
static void | setWallCoordinates (SoState *state, SbVec3f lowerLeft, SbVec3f lowerRight, SbVec3f upperLeft) |
static SbBool | useWallCoordinates (SoState *state) |
static SbVec4f | getDefault () |
static SbBox3f | getDefaultBox () |
static SoModifyViewVolumeElement * | getInstance (const SoState *state, SbBool &elemIsSet) |
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 SoOffscreenRenderer.
PoBaseView, SoOffscreenRenderer
Returns the current portion of the view volume from the state.
Returns the current portion of the view volume from the state.
static int SoModifyViewVolumeElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoElement.
static SoType SoModifyViewVolumeElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoElement.
static SbVec4f SoModifyViewVolumeElement::getDefault | ( | ) | [inline, static] |
Returns the default screen portion.
static SbBox3f SoModifyViewVolumeElement::getDefaultBox | ( | ) | [inline, static] |
Returns the default screen portion.
static int SoModifyViewVolumeElement::getInfo | ( | SoState * | state | ) | [static] |
Gets an integer info.
static SoModifyViewVolumeElement* SoModifyViewVolumeElement::getInstance | ( | const SoState * | state, | |
SbBool & | elemIsSet | |||
) | [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 void SoModifyViewVolumeElement::getWallCoordinates | ( | SoState * | state, | |
SbVec3f & | lowerLeft, | |||
SbVec3f & | lowerRight, | |||
SbVec3f & | upperLeft | |||
) | [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 void SoModifyViewVolumeElement::setInfo | ( | SoState * | state, | |
int | info | |||
) | [static] |
Sets an integer info.
static void SoModifyViewVolumeElement::setWallCoordinates | ( | SoState * | state, | |
SbVec3f | lowerLeft, | |||
SbVec3f | lowerRight, | |||
SbVec3f | upperLeft | |||
) | [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.