3#ifndef _SO_POLYGON_OFFSET_ELEMENT_
4#define _SO_POLYGON_OFFSET_ELEMENT_
29 static void get(
SoState *state,
float &factor,
float &units,
Style &styles,
bool &on);
45 virtual void setElt(
float factor,
float units,
Style styles,
bool on);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
Abstract base class for all database nodes.
virtual ~SoPolygonOffsetElement()
Destructor.
static void get(SoState *state, float &factor, float &units, Style &styles, bool &on)
virtual void init(SoState *state)
Initializes element.
static void getDefault(float &factor, float &units, Style &styles, bool &on)
static void set(SoState *state, SoNode *node, float factor, float units, Style styles, bool on)
virtual void setElt(float factor, float units, Style styles, bool on)
static Style getStyle(SoState *state)
static void initClass()
Initializes the SoPolygonOffsetElement class.
This is the abstract base class for each state element whose value is replaced whenever it is set.
An SoState collects and holds state while traversing a scene graph.