Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoModifyViewVolumeElement Class Reference

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

#include <Inventor/elements/SoModifyViewVolumeElement.h>

+ Inheritance diagram for SoModifyViewVolumeElement:

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 SbVec4fget (SoState *state)
 Returns the current portion of the view volume from the state.
 
static const SbBox3fgetBox (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 SoModifyViewVolumeElementgetInstance (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.
 

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

Definition at line 49 of file SoModifyViewVolumeElement.h.

Member Function Documentation

◆ get()

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

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

◆ getBox()

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

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

◆ getClassStackIndex()

static int SoModifyViewVolumeElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoModifyViewVolumeElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static SbVec4f SoModifyViewVolumeElement::getDefault ( )
inlinestatic

Returns the default screen portion.

Definition at line 112 of file SoModifyViewVolumeElement.h.

◆ getDefaultBox()

static SbBox3f SoModifyViewVolumeElement::getDefaultBox ( )
inlinestatic

Returns the default screen portion.

Definition at line 118 of file SoModifyViewVolumeElement.h.

◆ getInfo()

static int SoModifyViewVolumeElement::getInfo ( SoState state)
static

Gets an integer info.

◆ getInstance()

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.

◆ getWallCoordinates()

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.

◆ set() [1/2]

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).

◆ set() [2/2]

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).

◆ setInfo()

static void SoModifyViewVolumeElement::setInfo ( SoState state,
int  info 
)
static

Sets an integer info.

◆ setWallCoordinates()

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.

◆ useWallCoordinates()

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: