Property node that stores any kind of string set. More...
#include <MeshVizXLM/mapping/nodes/MoStringSet.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoStringSet () | |
virtual void | setStringSet (const MiStringSet *StringSet) |
virtual void | reset () |
virtual const MiStringSet * | getStringSet () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
This node adds a reference to an object implementing the MiStringSetI, MiStringSetIj or MiStringSetIjk interface to the list of string sets in the traversal state.
Subsequent MoMeshCellShape instance will be able to use this string set. During traversal of the scene graph, MoStringSet nodes are accumulated into a list so that an extraction can use multiple string sets during the same computation.
Note:
MoStringSetElement, MiStringSetI, MiStringSetIj, MiStringSetIjk
MoStringSet::MoStringSet | ( | ) |
Constructor.
static SoType MoStringSet::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoActionNode.
virtual const MiStringSet* MoStringSet::getStringSet | ( | ) | [virtual] |
Gets the associated string set interface.
Use RTTI to find out which derived class it is.
virtual SoType MoStringSet::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoActionNode.
virtual void MoStringSet::reset | ( | ) | [virtual] |
Reset the associated string set to null (as if setStringSet was called with null).
Marks the node as modified by calling touch()
virtual void MoStringSet::setStringSet | ( | const MiStringSet * | StringSet | ) | [virtual] |
Provides a common interface for setting any string set type (MiStringSetI, MiStringSetIj or MiStringSetIjk) and marks the node as modified by calling touch().
The given StringSet is checked to ensure that a required type is provided. If not, NULL is set instead.