Stores the current draw style. More...
#include <MeshVizXLM/mapping/elements/MoDrawStyleElement.h>
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, MoDrawStyle *node) |
static void | set (SoState *state, SoNode *node, bool displaySolid, bool displayEdges, bool displayPoints, float fadingThreshold) |
static bool | getDrawStyle (SoState *state, bool &displaySolid, bool &displayEdges, bool &displayPoints) |
static float | getFadingThreshold (SoState *state) |
static bool | getDefault (bool &displaySolid, bool &displayEdges, bool &displayPoints, float &fadingThreshold) |
This element stores the current draw style.
static int MoDrawStyleElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType MoDrawStyleElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
static bool MoDrawStyleElement::getDefault | ( | bool & | displaySolid, | |
bool & | displayEdges, | |||
bool & | displayPoints, | |||
float & | fadingThreshold | |||
) | [static] |
Returns the default Drawstyle from the state.
static bool MoDrawStyleElement::getDrawStyle | ( | SoState * | state, | |
bool & | displaySolid, | |||
bool & | displayEdges, | |||
bool & | displayPoints | |||
) | [static] |
Returns the current DrawStyle from the state.
static float MoDrawStyleElement::getFadingThreshold | ( | SoState * | state | ) | [static] |
virtual void MoDrawStyleElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoReplacedElement.
static void MoDrawStyleElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
bool | displaySolid, | |||
bool | displayEdges, | |||
bool | displayPoints, | |||
float | fadingThreshold | |||
) | [static] |
static void MoDrawStyleElement::set | ( | SoState * | state, | |
MoDrawStyle * | node | |||
) | [static] |
Sets the current draw style.