Stores current polygon offset state. More...
#include <Inventor/elements/SoPolygonOffsetElement.h>
Public Types | |
enum | Style { FILLED = SbEnums::OFFSET_SOLID , LINES = SbEnums::OFFSET_WIREFRAME , POINTS = SbEnums::OFFSET_WIREFRAME } |
PolygonOffset style. More... | |
Public Member Functions | |
virtual void | push (SoState *state) |
Push copies the values from the previous element. | |
Public Member Functions inherited from SoReplacedElement | |
virtual void | print (FILE *fp) const |
Prints element (for debugging). | |
Public Member Functions inherited from SoElement | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Pops element. | |
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, SoNode *node, float factor, float units, Style styles, SbBool on) |
Sets the current polygon offset attributes in the state. | |
static void | get (SoState *state, float &factor, float &units, Style &styles, SbBool &on) |
Gets the current polygon offset attributes in the state. | |
static void | getDefault (float &factor, float &units, Style &styles, SbBool &on) |
Default values. | |
Static Public Member Functions inherited from SoReplacedElement | |
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. | |
Stores current polygon offset state.
Definition at line 42 of file SoPolygonOffsetElement.h.
PolygonOffset style.
Enumerator | |
---|---|
FILLED | FILLED. |
LINES | LINES. |
POINTS | POINTS. |
Definition at line 48 of file SoPolygonOffsetElement.h.
|
static |
Gets the current polygon offset attributes in the state.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
static |
Default values.
|
virtual |
Push copies the values from the previous element.
Reimplemented from SoElement.
|
static |
Sets the current polygon offset attributes in the state.