MoDrawStyleElement Class Reference
[Elements]

MeshViz Stores the current draw style. More...

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

Inheritance diagram for MoDrawStyleElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

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)

Detailed Description

MeshViz Stores the current draw style.

This element stores the current draw style.

SEE ALSO

MoDrawStyle


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 28 Jun 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/