MoScalarSet Class Reference
[Attributes]

MeshViz Property node that stores any kind of scalar data set. More...

#include <MeshVizXLM/mapping/nodes/MoScalarSet.h>

Inheritance diagram for MoScalarSet:
MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoScalarSet ()
virtual void setScalarSet (const MiScalardSet *scalarSet)
virtual void reset ()
virtual const MiScalardSetgetScalarSet ()

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

MeshViz Property node that stores any kind of scalar data set.

This node adds a reference to an object implementing the MiScalardSetI, MiScalardSetIj or MiScalarSetIjk interface to the list of scalar data sets in the traversal state.

Subsequent mesh representations will be able to use this data set for extraction, coloring, etc. During traversal of the scene graph, MoScalarSet nodes are accumulated into a list so that an extraction can use multiple scalar sets during the same computation. For example, the first set (located at index 0 in the list) for computing an isosurface and the second set (located at index 1) for coloring it.

This node is recommended over MoScalarSetI, MoScalarSetIj or MoScalarSetIjk.

Note:

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

MoScalarSetElement, MiScalardSetI, MiScalardSetIj, MiScalardSetIjk

See related examples:

TutorialCombineColorMapping


Constructor & Destructor Documentation

MoScalarSet::MoScalarSet (  ) 

Constructor.


Member Function Documentation

static SoType MoScalarSet::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoActionNode.

virtual const MiScalardSet* MoScalarSet::getScalarSet (  )  [virtual]

Gets the associated scalar set interface.

Use RTTI to find out which derived class it is.

virtual SoType MoScalarSet::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoActionNode.

virtual void MoScalarSet::reset (  )  [virtual]

Reset the associated scalar set to null (as if setScalarSet was called with null).

Marks the node as modified by calling touch()

virtual void MoScalarSet::setScalarSet ( const MiScalardSet scalarSet  )  [virtual]

Provides a common interface for setting any scalar set type (MiScalardSetI, MiScalardSetIj or MiScalardSetIjk) and marks the node as modified by calling touch().

The given scalarSet is checked to ensure that a required type is provided. If not, NULL is set instead.

Note:
When setting a new scalar set, the MiScalardSet::getTimeStamp() must return a different value than previously to actually take into account the change of scalar set.

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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/