25#ifndef _SO_POLYGON_OFFSET_ELEMENT_
26#define _SO_POLYGON_OFFSET_ELEMENT_
28#include <Inventor/elements/SoReplacedElement.h>
29#include <Inventor/SbEnums.h>
52 LINES = SbEnums::OFFSET_WIREFRAME,
54 POINTS = SbEnums::OFFSET_WIREFRAME
71 virtual void init(
SoState *state);
81 static void initClass() ;
82 static void exitClass() ;
90 virtual void setElt(
float factor,
float units,
Style styles,
SbBool on) ;
Abstract base class for all state elements.
Abstract base class for all database nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores current p...
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.
virtual void push(SoState *state)
Push copies the values from the previous element.
Style
PolygonOffset style.
static void set(SoState *state, SoNode *node, float factor, float units, Style styles, SbBool on)
Sets the current polygon offset attributes in the state.
Abstract base class for each state element whose value is replaced whenever it is set.