Stores a list of scalar sets.
More...
#include <MeshVizXLM/mapping/elements/MoScalarSetElement.h>
Public Member Functions | |
| virtual void | push (SoState *) |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | add (SoState *state, SoNode *node, const MiScalardSet *scalarSet) |
| static int | getNum (SoState *state) |
| static const MiScalardSet * | get (SoState *state, int index) |
| template<typename _ScalarT > | |
| static const _ScalarT * | get (SoState *state, int index) |
Stores a list of scalar sets.
This element stores any kind of scalar data sets in a list.
MoScalarSet, MiScalardSetI, MiScalardSetIj, MiScalardSetIjk
| static void MoScalarSetElement::add | ( | SoState * | state, | |
| SoNode * | node, | |||
| const MiScalardSet * | scalarSet | |||
| ) | [static] |
Adds a ScalarSet to the current set in the state.
| static const _ScalarT* MoScalarSetElement::get | ( | SoState * | state, | |
| int | index | |||
| ) | [inline, static] |
Get the element number index from the state.
return NULL if not of required type
| const _ScalarT * MoScalarSetElement::get | ( | SoState * | state, | |
| int | index | |||
| ) | [inline, static] |
Get the element number index from the state.
| static int MoScalarSetElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoAccumulatedElement.
| static SoType MoScalarSetElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoAccumulatedElement.
| static int MoScalarSetElement::getNum | ( | SoState * | state | ) | [static] |
Get number of elements in the state.
| virtual void MoScalarSetElement::push | ( | SoState * | ) | [virtual] |
Push the element into the state.
Reimplemented from SoAccumulatedElement.