SoModifyViewVolumeElement Class Reference
[Elements]

VSG extension Stores a view volume subset. More...

#include <Inventor/elements/SoModifyViewVolumeElement.h>

Inheritance diagram for SoModifyViewVolumeElement:
SoElement SoTypedObject

List of all members.

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 SbVec4fget (SoState *state)
static const SbBox3fgetBox (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 SoModifyViewVolumeElementgetInstance (const SoState *state, SbBool &elemIsSet)

Detailed Description

VSG extension 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

PoBaseView, SoOffscreenRenderArea


Member Function Documentation

static const SbVec4f& SoModifyViewVolumeElement::get ( SoState state  )  [static]

Returns the current portion of the view volume from the state.

static const SbBox3f& SoModifyViewVolumeElement::getBox ( SoState state  )  [static]

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.

static void SoModifyViewVolumeElement::set ( SoState state,
const SbBox3f portion 
) [static]

Sets the current portion in the state to the given portion (left, bottom, right, top).

static void SoModifyViewVolumeElement::set ( SoState state,
const SbVec4f portion 
) [static]

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.

static SbBool SoModifyViewVolumeElement::useWallCoordinates ( SoState state  )  [static]

Returns a boolean telling the Camera to compute a view volume using the wall coordinates.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/