Open Inventor Reference
|
#include <Inventor/elements/SoPolygonOffsetElement.h>
Public Types | |
enum | Style { FILLED = 0x01, LINES = 0x02, POINTS = 0x04, ALL = 0xff } |
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
Static Public Member Functions | |
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 Style | getStyle (SoState *state) |
static void | getDefault (float &factor, float &units, Style &styles, SbBool &on) |
static void | initClass () |
Initializes the SoPolygonOffsetElement class. | |
Protected Member Functions | |
virtual | ~SoPolygonOffsetElement () |
Destructor. | |
virtual void | setElt (float factor, float units, Style styles, SbBool on) |
Protected Attributes | |
Style | _style |
SbBool | _active |
float | _offsetfactor |
float | _offsetunits |
Definition at line 51 of file SoPolygonOffsetElement.h.
Definition at line 59 of file SoPolygonOffsetElement.h.
virtual SoPolygonOffsetElement::~SoPolygonOffsetElement | ( | ) | [protected, virtual] |
static void SoPolygonOffsetElement::get | ( | SoState * | state, |
float & | factor, | ||
float & | units, | ||
Style & | styles, | ||
SbBool & | on | ||
) | [static] |
static void SoPolygonOffsetElement::getDefault | ( | float & | factor, |
float & | units, | ||
Style & | styles, | ||
SbBool & | on | ||
) | [static] |
virtual void SoPolygonOffsetElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoReplacedElement.
Reimplemented in SoGLPolygonOffsetElement.
static void SoPolygonOffsetElement::initClass | ( | ) | [static] |
Reimplemented from SoReplacedElement.
Reimplemented in SoGLPolygonOffsetElement.
static void SoPolygonOffsetElement::set | ( | SoState * | state, |
SoNode * | node, | ||
float | factor, | ||
float | units, | ||
Style | styles, | ||
SbBool | on | ||
) | [static] |
virtual void SoPolygonOffsetElement::setElt | ( | float | factor, |
float | units, | ||
Style | styles, | ||
SbBool | on | ||
) | [protected, virtual] |
Reimplemented in SoGLPolygonOffsetElement.
SbBool SoPolygonOffsetElement::_active [protected] |
Definition at line 80 of file SoPolygonOffsetElement.h.
float SoPolygonOffsetElement::_offsetfactor [protected] |
Definition at line 81 of file SoPolygonOffsetElement.h.
float SoPolygonOffsetElement::_offsetunits [protected] |
Definition at line 82 of file SoPolygonOffsetElement.h.
Style SoPolygonOffsetElement::_style [protected] |
Definition at line 79 of file SoPolygonOffsetElement.h.