Stores the current draw style.
More...
#include <MeshVizXLM/mapping/elements/MoDrawStyleElement.h>
|
| virtual void | print (FILE *fp) const |
| | Prints element (for debugging).
|
| |
| virtual void | push (SoState *state) |
| | Pushes element.
|
| |
| virtual void | pop (SoState *state, const SoElement *prevTopElement) |
| | Pops element.
|
| |
| virtual SoType | getTypeId () const |
| | Returns type identifier for element instance.
|
| |
| SbBool | isOfType (const SoType &type) const |
| | Returns TRUE if this object is of the type specified in type or is derived from that type.
|
| |
| template<typename TypedObjectClass > |
| SbBool | isOfType () const |
| | Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
|
| |
|
| static SoType | getClassTypeId () |
| | Returns the type identifier for this class.
|
| |
| static int | getClassStackIndex () |
| | Returns the stack id for this element.
|
| |
| static void | set (SoState *state, MoDrawStyle *node) |
| | Sets the current draw style.
|
| |
| 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) |
| | Returns the current DrawStyle from the state.
|
| |
| static float | getFadingThreshold (SoState *state) |
| |
| static bool | getDefault (bool &displaySolid, bool &displayEdges, bool &displayPoints, float &fadingThreshold) |
| | Returns the default Drawstyle from the state.
|
| |
| static SoType | getClassTypeId () |
| | Returns the type identifier for this class.
|
| |
| static int | getClassStackIndex () |
| | Returns the stack id for this element.
|
| |
| static SoType | getClassTypeId () |
| | Returns type identifier for SoElement class.
|
| |
| static SoType | getClassTypeId () |
| | Returns the type identifier for this class.
|
| |
Stores the current draw style.
This element stores the current draw style.
SEE ALSO
MoDrawStyle
Definition at line 54 of file MoDrawStyleElement.h.
◆ getClassStackIndex()
| static int MoDrawStyleElement::getClassStackIndex |
( |
| ) |
|
|
static |
Returns the stack id for this element.
◆ getClassTypeId()
| static SoType MoDrawStyleElement::getClassTypeId |
( |
| ) |
|
|
static |
Returns the type identifier for this class.
◆ getDefault()
| static bool MoDrawStyleElement::getDefault |
( |
bool & |
displaySolid, |
|
|
bool & |
displayEdges, |
|
|
bool & |
displayPoints, |
|
|
float & |
fadingThreshold |
|
) |
| |
|
static |
Returns the default Drawstyle from the state.
◆ getDrawStyle()
| static bool MoDrawStyleElement::getDrawStyle |
( |
SoState * |
state, |
|
|
bool & |
displaySolid, |
|
|
bool & |
displayEdges, |
|
|
bool & |
displayPoints |
|
) |
| |
|
static |
Returns the current DrawStyle from the state.
◆ getFadingThreshold()
| static float MoDrawStyleElement::getFadingThreshold |
( |
SoState * |
state | ) |
|
|
static |
◆ print()
| virtual void MoDrawStyleElement::print |
( |
FILE * |
fp | ) |
const |
|
virtual |
◆ set() [1/2]
Sets the current draw style.
◆ set() [2/2]
| static void MoDrawStyleElement::set |
( |
SoState * |
state, |
|
|
SoNode * |
node, |
|
|
bool |
displaySolid, |
|
|
bool |
displayEdges, |
|
|
bool |
displayPoints, |
|
|
float |
fadingThreshold |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: