Rendering node that displays a logical slice of a structured volume mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshLogicalSlice.h>
Classes | |
class | SliceAxis |
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshLogicalSlice () | |
const MiLogicalSliceExtractRegular * | getRegularExtractor () |
const MiLogicalSliceExtractRectilinear * | getRectilinearExtractor () |
const MiLogicalSliceExtractCurvilinear * | getCurvilinearExtractor () |
const MiLogicalSliceExtractHexahedronIjk * | getHexahedronIjkExtractor () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFUInt32 | sliceIndex |
SoSFEnum | sliceAxis |
SoSFBool | upperVertex |
Deprecated | |
| |
static SoDEPRECATED const MiMesh::Dimension | SLICE_I = MiMesh::DIMENSION_I |
static SoDEPRECATED const MiMesh::Dimension | SLICE_J = MiMesh::DIMENSION_J |
static SoDEPRECATED const MiMesh::Dimension | SLICE_K = MiMesh::DIMENSION_K |
SoDEPRECATED const MiLogicalSliceExtractHexahedronIjk * | getUnstructuredIjkExtractor () |
A logical slice is an unstructured surface mesh extracted from an IJK volume mesh along the upper or lower faces of a "row" of cells. It is defined by a slice axis, an index and a boolean flag.
The slice axis can be MiMesh::Dimension::I, MiMesh::Dimension::J or MiMesh::Dimension::K. The index represents a constant value for I, J or K (whichever is the slice axis). The boolean upperVertex specifies whether the slice is rendered using the lower or upper vertices (roughly the near or far faces) of the cells.
If N is the number of cells on the specified sliceAxis, then the valid range for sliceIndex is 0..N. As a convenience, when sliceIndex = N, the N-1 cells are used but upperVertex is automatically considered to be TRUE.
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).
An MoMeshLogicalSlice is extracted along one face of each cell 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. MoMeshSlab is related, but extracts all visible faces from a row of cells with the same index in the given dimension I, J or K.
colorScalarSetId | 0 |
parallel | TRUE |
sliceIndex | 0 |
sliceAxis | MiMesh::Dimension::I |
upperVertex | FALSE |
MoMeshSlab, MoMeshInterpolatedLogicalSlice,
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial,
MiLogicalSliceExtractRegular, MiLogicalSliceExtractRectilinear, MiLogicalSliceExtractCurvilinear, MiLogicalSliceExtractHexahedronIjk, MoFaceDetail
MoMeshLogicalSlice::MoMeshLogicalSlice | ( | ) |
Constructor.
static SoType MoMeshLogicalSlice::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshSurfaceRepresentation.
const MiLogicalSliceExtractCurvilinear* MoMeshLogicalSlice::getCurvilinearExtractor | ( | ) |
const MiLogicalSliceExtractHexahedronIjk* MoMeshLogicalSlice::getHexahedronIjkExtractor | ( | ) |
const MiLogicalSliceExtractRectilinear* MoMeshLogicalSlice::getRectilinearExtractor | ( | ) |
const MiLogicalSliceExtractRegular* MoMeshLogicalSlice::getRegularExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshLogicalSlice::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshSurfaceRepresentation.
SoDEPRECATED const MiLogicalSliceExtractHexahedronIjk* MoMeshLogicalSlice::getUnstructuredIjkExtractor | ( | ) |
SoDEPRECATED const MiMesh::Dimension MoMeshLogicalSlice::SLICE_I = MiMesh::DIMENSION_I [static] |
Slice at I constant.
SoDEPRECATED const MiMesh::Dimension MoMeshLogicalSlice::SLICE_J = MiMesh::DIMENSION_J [static] |
Slice at J constant.
SoDEPRECATED const MiMesh::Dimension MoMeshLogicalSlice::SLICE_K = MiMesh::DIMENSION_K [static] |
Slice at K constant.
The dimension along which the logical slice will be computed defined by the MiMesh::Dimension enum.
Default is MiMesh::Dimension::I.
Index of the slice to display.
Default is 0.
If FALSE (the default), displays the lower part of the cell, otherwise displays the upper part of the cell.