23#ifndef _SO_EDGE_FLAG_ELEMENT
24#define _SO_EDGE_FLAG_ELEMENT
26#include <Inventor/fields/SoMFInt32.h>
27#include <Inventor/elements/SoReplacedElement.h>
49 int32_t numFlags,
const int32_t *flags);
55 int32_t numFlags,
const int32_t *flags);
66 {
return getConstElement<SoEdgeFlagElement>(state);}
82 const int32_t *
getMarked()
const {
return marked; }
93 virtual void print(FILE *fp)
const;
98 virtual void init(
SoState *state);
102 static void initClass();
103 static void exitClass();
108 int32_t numMarked, numUnmarked;
109 const int32_t * marked;
110 const int32_t * unmarked;
112 static int32_t markedDefault[1] ;
113 static int32_t unmarkedDefault[1] ;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the edge ...
int32_t getNumMarked() const
Returns the number of marked flags in an instance.
const int32_t * getUnmarked() const
Returns the unmarked flags.
static int getDefault()
Returns the default values.
int32_t getNumUnmarked() const
Returns the number of unmarked flags in an instance.
const int32_t * getMarked() const
Returns the marked flags.
static void setMarked(SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags)
Sets the current flags in the state as marked.
virtual void print(FILE *fp) const
Prints element (for debugging).
static const SoEdgeFlagElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
static void setUnmarked(SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags)
Sets the current flags in the state as unmarked.
Abstract base class for all database nodes.
Abstract base class for each state element whose value is replaced whenever it is set.