Rendering node that displays an elevated plane slice of a volume mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshElevatedPlaneSlice.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshElevatedPlaneSlice () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFDouble | scaleFactor |
SoSFInt32 | elevationScalarSetId |
An elevated plane slice is based on an unstructured surface mesh defined by the intersection of an arbitrary plane with a volume mesh. This surface is extruded with a height depending on the data extracted from the plane using the elevation scalar set, and a scale factor. 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 |
elevationScalarSetId | 0 |
scaleFactor | 1.0 |
parallel | TRUE |
plane | 0,0,1,0 |
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial, MoFaceDetail,
MiPlaneSliceExtractIjk, MiPlaneSliceExtractUnstructured, MiPlaneSliceExtractUnstructuredIjk
MoMeshElevatedPlaneSlice::MoMeshElevatedPlaneSlice | ( | ) |
Constructor.
static SoType MoMeshElevatedPlaneSlice::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshPlaneSlice.
virtual SoType MoMeshElevatedPlaneSlice::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshPlaneSlice.
The scalar set to be used to map elevation onto the representation.
During traversal of the scene graph, scalar set nodes are accumulated in a list of scalar sets. elevationScalarSetId is an index into this list. Default value is 0 which means that the first scalar set stored in the scene graph is used. Setting this value to -1 enables the elevation values to be the same as used for color mapping. Setting this value to another id enables the elevation values to be different than the ones used for color mapping.
The scaleFactor can be set to control the height of extruded cells.
By default, this value is set to 1.