Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
MoScalarSetElement Class Reference

MeshViz Stores a list of scalar sets. More...

#include <MeshVizXLM/mapping/elements/MoScalarSetElement.h>

+ Inheritance diagram for MoScalarSetElement:

Public Member Functions

virtual void push (SoState *)
 Push the element into the state.
 
- Public Member Functions inherited from SoAccumulatedElement
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void add (SoState *state, SoNode *node, const MiScalardSet *scalarSet)
 Adds a ScalarSet to the current set in the state.
 
static int getNum (SoState *state)
 Get number of elements in the state.
 
static const MiScalardSetget (SoState *state, int index)
 Get the element number index from the state.
 
template<typename _ScalarT >
static const _ScalarT * get (SoState *state, int index)
 Get the element number index from the state.
 
- Static Public Member Functions inherited from SoAccumulatedElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

MeshViz Stores a list of scalar sets.

This element stores any kind of scalar data sets in a list.

SEE ALSO

MoScalarSet, MiScalardSetI, MiScalardSetIj, MiScalardSetIjk

Definition at line 41 of file MoScalarSetElement.h.

Member Function Documentation

◆ add()

static void MoScalarSetElement::add ( SoState state,
SoNode node,
const MiScalardSet scalarSet 
)
static

Adds a ScalarSet to the current set in the state.

◆ get() [1/2]

static const MiScalardSet * MoScalarSetElement::get ( SoState state,
int  index 
)
static

Get the element number index from the state.

◆ get() [2/2]

template<typename _ScalarT >
const _ScalarT * MoScalarSetElement::get ( SoState state,
int  index 
)
static

Get the element number index from the state.

return NULL if not of required type

Definition at line 94 of file MoScalarSetElement.h.

◆ getClassStackIndex()

static int MoScalarSetElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType MoScalarSetElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getNum()

static int MoScalarSetElement::getNum ( SoState state)
static

Get number of elements in the state.

◆ push()

virtual void MoScalarSetElement::push ( SoState )
virtual

Push the element into the state.

Reimplemented from SoAccumulatedElement.


The documentation for this class was generated from the following file: