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 } |
Public Member Functions | |
virtual void | push (SoState *state) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoNode *node, float factor, float units, Style styles, SbBool on) |
static void | get (SoState *state, float &factor, float &units, Style &styles, SbBool &on) |
static void | getDefault (float &factor, float &units, Style &styles, SbBool &on) |
static void SoPolygonOffsetElement::get | ( | SoState * | state, | |
float & | factor, | |||
float & | units, | |||
Style & | styles, | |||
SbBool & | on | |||
) | [static] |
Gets the current polygon offset attributes in the state.
static int SoPolygonOffsetElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType SoPolygonOffsetElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
static void SoPolygonOffsetElement::getDefault | ( | float & | factor, | |
float & | units, | |||
Style & | styles, | |||
SbBool & | on | |||
) | [static] |
Default values.
virtual void SoPolygonOffsetElement::push | ( | SoState * | state | ) | [virtual] |
Push copies the values from the previous element.
Reimplemented from SoElement.
static void SoPolygonOffsetElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
float | factor, | |||
float | units, | |||
Style | styles, | |||
SbBool | on | |||
) | [static] |
Sets the current polygon offset attributes in the state.