Rendering node that displays the outline of a mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshOutline.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshOutline () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
| |
const MiOutlineExtractUnstructured * | getUnstructuredExtractor () |
const MiOutlineExtractHexahedronIjk * | getHexahedronIjkExtractor () |
const MiOutlineExtractIjk * | getIjkExtractor () |
const MiOutlineExtractIj * | getIjExtractor () |
Deprecated | |
| |
SoDEPRECATED const MiOutlineExtractHexahedronIjk * | getUnstructuredIjkExtractor () |
The outline of a mesh is an unstructured line mesh made up of all the edges that belong to only one cell. Internal edges of a mesh will not be displayed except when they are adjacent to dead cells.
The outline can be colored using a scalar set specified in the colorScalarSetId inherited field. This is an index into the list of scalar sets existing in the traversal state (see the MoScalarSet node). To disable coloring set this field to -1.
MoMaterial controls whether the outline is drawn with a single color or colored according to a scalar set ( lineColoring field) and also specifies the single color to be used ( lineColor field).
MoColorMapping subclasses specify the mapping from scalar values to color and opacity.
Note that MoDrawStyle affects the rendering of MoMeshOutline. If the displayEdges field is set to false, the mesh outline will be not be drawn.
The following image displays the outline of a hexahedron grid (see MiVolumeMeshHexahedronIjk). It hightlights the internal faults and the discontinuies on the external borders of the grid. The grey parts of the image correspond to a semi opaque skin of the grid (see MoMeshSkin).
red mesh outline |
colorScalarSetId | 0 |
parallel | TRUE |
MoMaterial, MoScalarSet, MoColorMapping,
MiOutlineExtractIj, MiOutlineExtractIjk, MiOutlineExtractUnstructured, MiOutlineExtractHexahedronIjk
TessellatedSurface, Outline, OutlineOnPlaneSlice, QuadraticSurface, TutorialPicking3
MoMeshOutline::MoMeshOutline | ( | ) |
Constructor.
static SoType MoMeshOutline::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshLineRepresentation.
const MiOutlineExtractHexahedronIjk* MoMeshOutline::getHexahedronIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
const MiOutlineExtractIj* MoMeshOutline::getIjExtractor | ( | ) |
Get extractor for reuse outside this node.
const MiOutlineExtractIjk* MoMeshOutline::getIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshOutline::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshLineRepresentation.
const MiOutlineExtractUnstructured* MoMeshOutline::getUnstructuredExtractor | ( | ) |
Get extractor for reuse outside this node.
SoDEPRECATED const MiOutlineExtractHexahedronIjk* MoMeshOutline::getUnstructuredIjkExtractor | ( | ) |