Stores the current vertex flag. More...
#include <Inventor/elements/SoVertexFlagElement.h>
Public Member Functions | |
int32_t | getNumMarked () const |
int32_t | getNumUnmarked () const |
const int32_t * | getMarked () const |
const int32_t * | getUnmarked () const |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | reInit (SoState *, SoNode *) |
static void | setMarked (SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags) |
static void | setUnmarked (SoState *state, SoNode *node, int32_t numFlags, const int32_t *flags) |
static int | getDefault () |
static const SoVertexFlagElement * | getInstance (SoState *state) |
This element stores the current vertex flag.
static int SoVertexFlagElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType SoVertexFlagElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
static int SoVertexFlagElement::getDefault | ( | ) | [inline, static] |
static const SoVertexFlagElement* SoVertexFlagElement::getInstance | ( | SoState * | state | ) | [inline, static] |
Returns the top (current) instance of the element in the state.
const int32_t* SoVertexFlagElement::getMarked | ( | ) | const [inline] |
Returns the marked flags.
int32_t SoVertexFlagElement::getNumMarked | ( | ) | const [inline] |
Returns the number of marked flags in an instance.
int32_t SoVertexFlagElement::getNumUnmarked | ( | ) | const [inline] |
Returns the number of unmarked flags in an instance.
const int32_t* SoVertexFlagElement::getUnmarked | ( | ) | const [inline] |
Returns the unmarked flags.
virtual void SoVertexFlagElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoReplacedElement.
static void SoVertexFlagElement::setMarked | ( | SoState * | state, | |
SoNode * | node, | |||
int32_t | numFlags, | |||
const int32_t * | flags | |||
) | [static] |
Sets the current flags in the state as marked.
static void SoVertexFlagElement::setUnmarked | ( | SoState * | state, | |
SoNode * | node, | |||
int32_t | numFlags, | |||
const int32_t * | flags | |||
) | [static] |
Sets the current flags in the state as unmarked.