Stores current polygon offset state. More...
#include <Inventor/elements/SoPolygonOffsetElement.h>
Public Types | |
enum | Style { FILLED = 0x01, LINES = 0x02, POINTS = 0x04 } |
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.
Reimplemented in SoGLPolygonOffsetElement.
static SoType SoPolygonOffsetElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
Reimplemented in SoGLPolygonOffsetElement.
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.
Reimplemented in SoGLPolygonOffsetElement.
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.