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
MiPlaneSliceExtractHexahedronIjk
getHexahedronIjkExtractor ()
const MiPlaneSliceExtractIjkgetIjkExtractor ()

Deprecated



SoDEPRECATED const
MiPlaneSliceExtractHexahedronIjk
getUnstructuredIjkExtractor ()

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, MiPlaneSliceExtractHexahedronIjk, MoFaceDetail

See related examples:

DemoEclipseMeshViz, DemoPEBIMeshViz, DemoQuadraticWheelHexa27, DemoTurbine, DemoMeshVizColorMapping, DemoIsolineOnIsosurface, DemoOutlineOnPlaneSlice, DemoPlaneSlice, DemoQuadraticHexa20, DemoQuadraticHexa27, DemoQuadraticTetra10, DemoQuadraticTube, DemoQuadraticWedge18, DemoQuadraticWheelHexa20, DemoQuadraticWheelTetra10, DemoQuadraticWheelWedge18, DemoSphereCylinderPlaneSlices, TutorialPicking3, VolumeMesh, DemoWheelHexa8


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 MiPlaneSliceExtractHexahedronIjk* MoMeshPlaneSlice::getHexahedronIjkExtractor (  ) 

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 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.
SoDEPRECATED const MiPlaneSliceExtractHexahedronIjk* MoMeshPlaneSlice::getUnstructuredIjkExtractor (  ) 

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 by FEI reference manual, generated on 30 Jul 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/