23#ifndef _SO_VERTEX_FLAG_ELEMENT
24#define _SO_VERTEX_FLAG_ELEMENT
53 int32_t numFlags,
const int32_t *flags);
59 int32_t numFlags,
const int32_t *flags);
70 {
return getConstElement<SoVertexFlagElement>(state);}
86 const int32_t *
getMarked()
const {
return marked; }
97 virtual void print(FILE *fp)
const;
106 static void initClass();
107 static void exitClass();
110 int32_t numMarked, numUnmarked;
111 const int32_t * marked;
112 const int32_t * unmarked;
114 static int32_t markedDefault[1] ;
115 static int32_t unmarkedDefault[1] ;
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Abstract base class for all database nodes.
Abstract base class for each state element whose value is replaced whenever it is set.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the curre...
static const SoVertexFlagElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
virtual void print(FILE *fp) const
Prints element (for debugging).
static void setMarked(SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags)
Sets the current flags in the state as marked.
const int32_t * getMarked() const
Returns the marked flags.
static void setUnmarked(SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags)
Sets the current flags in the state as unmarked.
const int32_t * getUnmarked() const
Returns the unmarked flags.
static void reInit(SoState *, SoNode *)
int32_t getNumUnmarked() const
Returns the number of unmarked flags in an instance.
int32_t getNumMarked() const
Returns the number of marked flags in an instance.