25#ifndef _SO_MODIFY_VIEW_VOLUME_ELEMENT
26#define _SO_MODIFY_VIEW_VOLUME_ELEMENT
113 {
return SbVec4f(0., 0., 1., 1.); }
119 {
return SbBox3f(0., 0., 0., 1., 1., 1.); }
141 virtual SoElement* copyMatchInfo()
const;
145 static void initClass();
146 static void exitClass();
155 SbVec3f _lowerLeft, _lowerRight, _upperLeft;
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Abstract base class for all state elements.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores a view vo...
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...
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 const SbVec4f & get(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 const SbBox3f & getBox(SoState *state)
Returns the current portion of the view volume from the state.
static void setWallCoordinates(SoState *state, SbVec3f lowerLeft, SbVec3f lowerRight, SbVec3f upperLeft)
Sets the current coordinates of the virtual window in the real world.
static SbBox3f getDefaultBox()
Returns the default screen portion.
static int getInfo(SoState *state)
Gets an integer info.
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 void setInfo(SoState *state, int info)
Sets an integer info.