Open Inventor Reference
SoPolygonOffsetElement Class Reference

#include <Inventor/elements/SoPolygonOffsetElement.h>

Inheritance diagram for SoPolygonOffsetElement:
SoReplacedElement SoElement SoGLPolygonOffsetElement

List of all members.

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

Detailed Description

Definition at line 51 of file SoPolygonOffsetElement.h.


Member Enumeration Documentation

Enumerator:
FILLED 
LINES 
POINTS 
ALL 

Definition at line 59 of file SoPolygonOffsetElement.h.


Constructor & Destructor Documentation

virtual SoPolygonOffsetElement::~SoPolygonOffsetElement ( ) [protected, virtual]

Member Function Documentation

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]
static Style SoPolygonOffsetElement::getStyle ( SoState state) [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.


Member Data Documentation

Definition at line 80 of file SoPolygonOffsetElement.h.

Definition at line 81 of file SoPolygonOffsetElement.h.

Definition at line 82 of file SoPolygonOffsetElement.h.

Definition at line 79 of file SoPolygonOffsetElement.h.


The documentation for this class was generated from the following file: