Manage SoDepthOffset nodes accumulation in state.
More...
#include <Inventor/elements/SoDepthOffsetElement.h>
Inheritance diagram for SoDepthOffsetElement:Public Member Functions | |
| virtual void | push (SoState *) |
| Push the element into the state. | |
| virtual void | pop (SoState *, const SoElement *) |
| Pop the element from the state. | |
Public Member Functions inherited from SoFloatElement | |
| virtual void | print (FILE *fp) const |
| Prints element (for debugging). | |
Public Member Functions inherited from SoElement | |
| 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. | |
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, float offset) |
| Sets the current offset in the state. | |
| static void | set (SoState *state, SoNode *, float offset) |
| Sets the current offset in the state. | |
| static void | set (SoState *state, float, float, float) |
| Sets the current offset in the state. | |
| static float | get (SoState *state) |
| Returns current accumulated offset from the state. | |
| static void | setMaxOffset (SoState *state, float offset) |
| Sets the current offset in the state. | |
| static float | getMaxOffset (SoState *state) |
| Returns current accumulated offset from the state. | |
Static Public Member Functions inherited from SoFloatElement | |
| static SoType | getClassTypeId () |
| Returns the type identifier for this class. | |
| static int | getClassStackIndex () |
| Returns the stack id for this element. | |
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. | |
Manage SoDepthOffset nodes accumulation in state.
This element stores SoDepthOffset nodes encountered during traversal at any given time. Requesting for current offset at a given time (throught get() method) returns the global accumulated offset, computed from all previously SoDepthOffset nodes encountered in current path traversal.
Definition at line 42 of file SoDepthOffsetElement.h.
|
static |
Returns current accumulated offset from the state.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
static |
Returns current accumulated offset from the state.
Pop the element from the state.
Reimplemented from SoElement.
|
virtual |
Push the element into the state.
Reimplemented from SoElement.
|
static |
Sets the current offset in the state.
|
static |
Sets the current offset in the state.
Sets the current offset in the state.
|
static |
Sets the current offset in the state.