Property node that defines the data binding. More...
#include <MeshVizXLM/mapping/nodes/MoDataBinding.h>
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 |
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.
dataBinding | AUTO |
MoScalarSet, MoScalarSetI, MoScalarSetIj, MoScalarSetIjk
EclipseMeshViz, CellShape, GridPlaneSlice, InterpolatedLogicalSlice, Isosurface, LogicalSlice, Outline, PickingAndProbing, PlaneSlice, Skin, Slab, Streamlines, Vectors
MoDataBinding::MoDataBinding | ( | ) |
Constructor.
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.
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.