Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MoDrawStyleElement Class Reference

MeshViz Stores the current draw style. More...

#include <MeshVizXLM/mapping/elements/MoDrawStyleElement.h>

+ Inheritance diagram for MoDrawStyleElement:

Public Member Functions

virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
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.
 
- Public Member Functions inherited from SoTypedObject
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 Public Member Functions

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 Public Member Functions inherited from SoReplacedElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

MeshViz Stores the current draw style.

This element stores the current draw style.

SEE ALSO

MoDrawStyle

Definition at line 54 of file MoDrawStyleElement.h.

Member Function Documentation

◆ 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

Prints element (for debugging).

Reimplemented from SoReplacedElement.

◆ set() [1/2]

static void MoDrawStyleElement::set ( SoState state,
MoDrawStyle node 
)
static

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: