Rendering node that displays a sphere slice of a volume mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshSphereSlice.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshSphereSlice () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFVec3f | center |
SoSFFloat | radius |
| |
const MiSphereSliceExtractUnstructured * | getUnstructuredExtractor () |
const MiSphereSliceExtractUnstructuredIjk * | getUnstructuredIjkExtractor () |
const MiSphereSliceExtractIjk * | getIjkExtractor () |
A sphere slice is an unstructured surface mesh defined by the intersection of a sphere with a volume mesh. The sphere is defined by its center position and radius.
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 |
center | 0,0,0 |
radius | 1.0 |
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial,
MiSphereSliceExtractIjk, MiSphereSliceExtractUnstructured, MiSphereSliceExtractUnstructuredIjk, MoFaceDetail
MoMeshSphereSlice::MoMeshSphereSlice | ( | ) |
Constructor.
static SoType MoMeshSphereSlice::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshSurfaceRepresentation.
const MiSphereSliceExtractIjk* MoMeshSphereSlice::getIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshSphereSlice::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshSurfaceRepresentation.
const MiSphereSliceExtractUnstructured* MoMeshSphereSlice::getUnstructuredExtractor | ( | ) |
Get extractor for reuse outside this node.
const MiSphereSliceExtractUnstructuredIjk* MoMeshSphereSlice::getUnstructuredIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
Specifies the shpere's center.
Default is 0,0,0.
Specifies the sphere's radius.
Value must be greater than 0.0. Default is 1.