35#ifndef _MO_DRAWSTYLE_ELEMENT_
36#define _MO_DRAWSTYLE_ELEMENT_
63 static void set(
SoState* state,
SoNode* node,
bool displaySolid,
bool displayEdges,
bool displayPoints,
float fadingThreshold );
66 static bool getDrawStyle(
SoState *state,
bool& displaySolid,
bool& displayEdges,
bool& displayPoints);
71 static bool getDefault(
bool& displaySolid,
bool& displayEdges,
bool& displayPoints,
float& fadingThreshold);
76 virtual void print(FILE *fp)
const;
95 static void initClass();
96 static void exitClass() ;
101 bool m_displayPoints;
102 float m_fadingThreshold;
#define MESHVIZXLM_DMAP_API
#define SO_ELEMENT_HEADER(className)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Property node that defin...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Stores the current draw ...
static bool getDrawStyle(SoState *state, bool &displaySolid, bool &displayEdges, bool &displayPoints)
Returns the current DrawStyle from the state.
static void set(SoState *state, SoNode *node, bool displaySolid, bool displayEdges, bool displayPoints, float fadingThreshold)
static bool getDefault(bool &displaySolid, bool &displayEdges, bool &displayPoints, float &fadingThreshold)
Returns the default Drawstyle from the state.
static void set(SoState *state, MoDrawStyle *node)
Sets the current draw style.
virtual void print(FILE *fp) const
Prints element (for debugging).
static float getFadingThreshold(SoState *state)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Property node that defin...
Abstract base class for all state elements.
Abstract base class for all database nodes.
Abstract base class for each state element whose value is replaced whenever it is set.