Rendering node that displays a fence slice within a volume mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshFenceSlice.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshFenceSlice () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec3f | polyline |
SoSFVec3f | direction |
| |
const MiFenceSliceExtractUnstructured * | getUnstructuredExtractor () |
const MiFenceSliceExtractHexahedronIjk * | getHexahedronIjkExtractor () |
const MiFenceSliceExtractIjk * | getIjkExtractor () |
Deprecated | |
| |
SoDEPRECATED const MiFenceSliceExtractHexahedronIjk * | getUnstructuredIjkExtractor () |
A fence slice is an unstructured surface mesh defined by the intersection of several arbitrary planes (the fences) with a volume mesh. These fences are defined by a polyline and a direction. Each segment of the polyline is extruded along the direction to form a clipped plane slice. Thus, each fence goes through a segment of the polyline. Each plane slice is clipped by the extrusion of the 2 endpoints of each segment in the direction.
The fence 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 |
polyline | empty |
direction | 1,0,0 |
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial, MoScalarSet,
MiFenceSliceExtractIjk, MiFenceSliceExtractUnstructured, MiFenceSliceExtractHexahedronIjk, MoFaceDetail
MoMeshFenceSlice::MoMeshFenceSlice | ( | ) |
Constructor.
static SoType MoMeshFenceSlice::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshSurfaceRepresentation.
const MiFenceSliceExtractHexahedronIjk* MoMeshFenceSlice::getHexahedronIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
const MiFenceSliceExtractIjk* MoMeshFenceSlice::getIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshFenceSlice::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshSurfaceRepresentation.
const MiFenceSliceExtractUnstructured* MoMeshFenceSlice::getUnstructuredExtractor | ( | ) |
Get extractor for reuse outside this node.
SoDEPRECATED const MiFenceSliceExtractHexahedronIjk* MoMeshFenceSlice::getUnstructuredIjkExtractor | ( | ) |
Direction defining the fences.
This field is set to the x-axis direction by default.
Set of points defining the segments through which fence must pass.
Each segment is extruded along the direction to form a strip of plane slices. There is as much fence as segments. This field is empty by default.