MoMeshIsosurface Class Reference
[Representations]

MeshViz Rendering node that displays an isosurface of a volume mesh. More...

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

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoMeshIsosurface ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFFloat isovalue
SoSFInt32 isoScalarSetId



const
MiIsosurfExtractUnstructured
getUnstructuredExtractor ()
const
MiIsosurfExtractUnstructuredIjk
getUnstructuredIjkExtractor ()
const MiIsosurfExtractIjkgetIjkExtractor ()

Deprecated



SoDEPRECATED const
MiIsosurfExtractIjk
getRegularExtractor ()

Detailed Description

MeshViz Rendering node that displays an isosurface of a volume mesh.

An isosurface is an unstructured surface mesh defined by all the points having the specified value in the scalar data set. The scalar set used to extract the isosurface is defined by the inherited isoScalarSetId field. This is an index into the list of scalar sets existing in the traversal state (see the MoScalarSetxxx nodes). If this scalar set is defined per cell, a new internal dataset bound per node will be automatically computed and cached to perform the isosurface extraction.

The isosurface can be colored using a scalar set defined in the colorScalarSetId inherited field. 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, MoTessellator
MiIsosurfExtractIjk, MiIsosurfExtractUnstructured, MiIsosurfExtractUnstructuredIjk, MoFaceDetail

See related examples:

EclipseMeshViz, PEBIMeshViz, QuadraticWheelHexa27, Turbine, IsolineOnIsosurface, Isosurface, PolyhedralIsosurface, QuadraticHexa20, QuadraticHexa27, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, VolumeMesh, WheelHexa8


Constructor & Destructor Documentation

MoMeshIsosurface::MoMeshIsosurface (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshIsosurface::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshSurfaceRepresentation.

const MiIsosurfExtractIjk* MoMeshIsosurface::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 has traversed the scene graph. Use the method corresponding to the type of mesh stored in the scene graph.
SoDEPRECATED const MiIsosurfExtractIjk* MoMeshIsosurface::getRegularExtractor (  ) 
virtual SoType MoMeshIsosurface::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshSurfaceRepresentation.

const MiIsosurfExtractUnstructured* MoMeshIsosurface::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 has traversed the scene graph. Use the method corresponding to the type of mesh stored in the scene graph.
const MiIsosurfExtractUnstructuredIjk* MoMeshIsosurface::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 has traversed the scene graph. Use the method corresponding to the type of mesh stored in the scene graph.

Member Data Documentation

Field representing the scalar set node to be used to compute the iso value.

During traversal of the scene graph, scalar set nodes are accumulated in a list of scalar sets. isoScalarSetId is an index into this list. Default is 0. If this scalar set is defined per cell, a new internal dataset defined per node will be automatically computed and cached to perform the isosurface extraction.

Isovalue to display.

Default is 0.0.


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/