MoDataBinding Class Reference
[Attributes]

MeshViz Property node that defines the data binding. More...

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

Inheritance diagram for MoDataBinding:
MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  DataBinding {
  AUTO = -1,
  PER_CELL,
  PER_NODE
}

Public Member Functions

virtual SoType getTypeId () const
 MoDataBinding ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFEnum dataBinding

Detailed Description

MeshViz Property node that defines the data binding.

This node specifies the data binding to be used in subsequent representations. When set to AUTO (default), the data binding is taken from the data set element.

In some cases, particularly for Unstructured IJK meshes, it is not possible for MeshViz to know which data binding to use. In this case, use this node to set it.

In general it is not necessary to use this node if your application uses MoScalarSet (instead of MoScalarSetI and MoScalarSetIjk) to reference scalar data sets in the scene graph.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

MoScalarSet, MoScalarSetI, MoScalarSetIj, MoScalarSetIjk

See related examples:

EclipseMeshViz, CellShape, GridPlaneSlice, InterpolatedLogicalSlice, Isosurface, LogicalSlice, Outline, PickingAndProbing, PlaneSlice, Skin, Slab, Streamlines, Vectors


Member Enumeration Documentation

Data Binding.

Enumerator:
AUTO 

Use the data binding of the current data set.

PER_CELL 

The data set contains one data value per cell.

PER_NODE 

The data set contains one data value per node.


Constructor & Destructor Documentation

MoDataBinding::MoDataBinding (  ) 

Constructor.


Member Function Documentation

static SoType MoDataBinding::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoActionNode.

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

Returns the type identifier for this specific instance.

Reimplemented from MoActionNode.


Member Data Documentation

The data binding to be used in subsequent representations.

Use enum DataBinding. Default is AUTO. When set to AUTO (default), the data binding is taken from the data set element. In some cases, particularly for Unstructured IJK meshes, it is not possible to know which Data Binding to use. In this case, use this attribute to set it.


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/