Rendering node that displays a slab of a structured volume mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshSlab.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshSlab () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFEnum | dimension |
SoSFUInt32 | index |
SoSFUInt32 | thickness |
| |
const MiSkinExtractUnstructured * | getUnstructuredExtractor () |
const MiSkinExtractUnstructuredIjk * | getUnstructuredIjkExtractor () |
const MiSkinExtractIjk * | getIjkExtractor () |
A slab of an IJK mesh is an unstructured surface mesh made of all visible faces from cells with the same index in the given dimension I, J or K. A thickness allows to add faces from the cells in the range [index, index + thickness].
The mesh can be colored using a scalar set defined in the colorScalarSetId inherited field. This is an index into the list of scalar sets existing in the traversal state (see the MoScalarSetxxx nodes). To disable coloring set this field to -1. Rendering can be modified using various property nodes (see the SEE ALSO section).
MoMeshLogicalSlice is a related representation, but extracts a surface along one face of each cell with the same index and so has no "thickness" along the slice axis. MoMeshInterpolatedLogicalSlice is similar, but instead of displaying the slice only on the face of the cells, it can interpolate a slice inside cells.
colorScalarSetId | 0 |
parallel | TRUE |
dimension | MiMesh::DIMENSION_I |
index | 0 |
thickness | 1 |
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial,
MoMeshLogicalSlice, MoMeshInterpolatedLogicalSlice, MiSkinExtractIjk, MiSkinExtractUnstructured, MiSkinExtractUnstructuredIjk, MoFaceDetail
MoMeshSlab::MoMeshSlab | ( | ) |
Constructor.
static SoType MoMeshSlab::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshSurfaceRepresentation.
const MiSkinExtractIjk* MoMeshSlab::getIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshSlab::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshSurfaceRepresentation.
const MiSkinExtractUnstructured* MoMeshSlab::getUnstructuredExtractor | ( | ) |
Get extractor for reuse outside this node.
const MiSkinExtractUnstructuredIjk* MoMeshSlab::getUnstructuredIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
The dimension along which the slab will be computed defined by the MiMesh::Dimension enum.
Default is MiMesh::DIMENSION_I.
The index of the slab, 0 to N-1, where N is number of cells in the given dimension.
Default is 0.
Thickness of the slab in number of cells.
Default is 1 and defines a 1 cell thick slab. Value 0 defines an empty slab (nothing to display). Values are automatically "clamped" at the mesh dimensions.