35#ifndef  _MO_DRAWSTYLE_ELEMENT_ 
   36#define  _MO_DRAWSTYLE_ELEMENT_ 
   38#include <Inventor/elements/SoReplacedElement.h> 
   39#include <MeshVizXLM/mapping/MoMeshVizDataMapping.h> 
   40#include <MeshVizXLM/mapping/nodes/MoDrawStyle.h> 
   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;
 
   81  virtual void init(
SoState *state);
 
   95  static void initClass();
 
   96  static void exitClass() ;
 
  101  bool m_displayPoints;
 
  102  float m_fadingThreshold;
 
 
<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.