Rendering node that displays a grid plane slice of a volume mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshGridPlaneSlice.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshGridPlaneSlice () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFPlane | plane |
SoSFFloat | step |
| |
const MiGridPlaneSliceExtractUnstructured * | getUnstructuredExtractor () |
const MiGridPlaneSliceExtractUnstructuredIjk * | getUnstructuredIjkExtractor () |
const MiGridPlaneSliceExtractIjk * | getIjkExtractor () |
A grid plane slice is similar to MoMeshPlaneSlice but the plane is treated as a regular grid on which nodes are evaluated using the probing mechanism according to the specified step size (See the SEE ALSO Section for settings). The plane (an SbPlane) is defined by a direction vector and a distance from the origin.
The slice 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).
colorScalarSetId | 0 |
parallel | TRUE |
plane | 0,0,1,0 |
step | 1.0 |
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial, MoFaceDetail,
MiGridPlaneSliceExtractIjk, MiGridPlaneSliceExtractUnstructured, MiGridPlaneSliceExtractUnstructuredIjk.
MiPointProbeUnstructured, MiPointProbeUnstructuredIjk, MiPointProbeIjk, MiPointProbeIj for probing settings.
MoMeshGridPlaneSlice::MoMeshGridPlaneSlice | ( | ) |
Constructor.
static SoType MoMeshGridPlaneSlice::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshRepresentation.
const MiGridPlaneSliceExtractIjk* MoMeshGridPlaneSlice::getIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshGridPlaneSlice::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshRepresentation.
const MiGridPlaneSliceExtractUnstructured* MoMeshGridPlaneSlice::getUnstructuredExtractor | ( | ) |
Get extractor for reuse outside this node.
const MiGridPlaneSliceExtractUnstructuredIjk* MoMeshGridPlaneSlice::getUnstructuredIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
Position of the grid plane slice.
Z=0 plane by default.
Step between nodes defining grid density.
Default is 1.