MoMeshPlaneSlice Class Reference
[Representations]

MeshViz Rendering node that displays a plane slice of a volume mesh. More...

#include <MeshVizXLM/mapping/nodes/MoMeshPlaneSlice.h>

Inheritance diagram for MoMeshPlaneSlice:
MoMeshSurfaceRepresentation MoMeshRepresentation MoMeshBaseRepresentation MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject MoMeshElevatedPlaneSlice

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoMeshPlaneSlice ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFPlane plane



const
MiPlaneSliceExtractUnstructured
getUnstructuredExtractor ()
const
MiPlaneSliceExtractUnstructuredIjk
getUnstructuredIjkExtractor ()
const MiPlaneSliceExtractIjkgetIjkExtractor ()

Detailed Description

MeshViz Rendering node that displays a plane slice of a volume mesh.

A plane slice is an unstructured surface mesh defined by the intersection of an arbitrary plane with a volume mesh. 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).

Note:
When applied to an unstructured volume mesh (see MiVolumeMeshUnstructred) with undefined MiVolumeCell::getIsosurfTopology() such as polyhedral cells, an MoTessellator node containing an instance of MiTessellator::getNewTessellatorPolyhedron() must be added to the scenegraph beforehand. Any other types derived from MiTessellator will be ignored.

FILE FORMAT/DEFAULT

SEE ALSO

MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial,
MiPlaneSliceExtractIjk, MiPlaneSliceExtractUnstructured, MiPlaneSliceExtractUnstructuredIjk, MoFaceDetail

See related examples:

EclipseMeshViz, PEBIMeshViz, QuadraticWheelHexa27, Turbine, ColorMapping, IsolineOnIsosurface, OutlineOnPlaneSlice, PlaneSlice, QuadraticHexa20, QuadraticHexa27, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, SphereCylinderPlaneSlices, TutorialPicking3, VolumeMesh, WheelHexa8


Constructor & Destructor Documentation

MoMeshPlaneSlice::MoMeshPlaneSlice (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshPlaneSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshSurfaceRepresentation.

Reimplemented in MoMeshElevatedPlaneSlice.

const MiPlaneSliceExtractIjk* MoMeshPlaneSlice::getIjkExtractor (  ) 

Get extractor for reuse outside this node.

Note:
The returned pointer may be null if a mesh has not been set in the scene graph or if no render action traversal has occurred.
virtual SoType MoMeshPlaneSlice::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshSurfaceRepresentation.

Reimplemented in MoMeshElevatedPlaneSlice.

const MiPlaneSliceExtractUnstructured* MoMeshPlaneSlice::getUnstructuredExtractor (  ) 

Get extractor for reuse outside this node.

Note:
The returned pointer may be null if a mesh has not been set in the scene graph or if no render action traversal has occurred.
const MiPlaneSliceExtractUnstructuredIjk* MoMeshPlaneSlice::getUnstructuredIjkExtractor (  ) 

Get extractor for reuse outside this node.

Note:
The returned pointer may be null if a mesh has not been set in the scene graph or if no render action traversal has occurred.

Member Data Documentation

Position of the plane slice.

Z=0 plane by default.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/