MoMeshSlab Class Reference
[Representations]

MeshViz Rendering node that displays a slab of a structured volume mesh. More...

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

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoMeshSlab ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFEnum dimension
SoSFUInt32 index
SoSFUInt32 thickness



const MiSkinExtractUnstructuredgetUnstructuredExtractor ()
const MiSkinExtractHexahedronIjkgetHexahedronIjkExtractor ()
const MiSkinExtractIjkgetIjkExtractor ()

Deprecated



SoDEPRECATED const
MiSkinExtractHexahedronIjk
getUnstructuredIjkExtractor ()

Detailed Description

MeshViz Rendering node that displays a slab of a structured volume mesh.

A slab of an IJK mesh is an unstructured surface mesh made of all visible faces from cells with the same index in the given dimension I, J or K. A thickness allows to add faces from the cells in the range [index, index + thickness].

The mesh 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).

MoMeshLogicalSlice is a related representation, but extracts a surface along one face of each cell with the same index 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.

FILE FORMAT/DEFAULT

SEE ALSO

MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial,
MoMeshLogicalSlice, MoMeshInterpolatedLogicalSlice, MiSkinExtractIjk, MiSkinExtractUnstructured, MiSkinExtractHexahedronIjk, MoFaceDetail

See related examples:

EclipseMeshViz, Slab


Constructor & Destructor Documentation

MoMeshSlab::MoMeshSlab (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshSlab::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshSurfaceRepresentation.

const MiSkinExtractHexahedronIjk* MoMeshSlab::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 has been called before.
const MiSkinExtractIjk* MoMeshSlab::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 been called before.
virtual SoType MoMeshSlab::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshSurfaceRepresentation.

const MiSkinExtractUnstructured* MoMeshSlab::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 been called before.
SoDEPRECATED const MiSkinExtractHexahedronIjk* MoMeshSlab::getUnstructuredIjkExtractor (  ) 

Member Data Documentation

The dimension along which the slab will be computed defined by the MiMesh::Dimension enum.

Default is MiMesh::DIMENSION_I.

The index of the slab, 0 to N-1, where N is number of cells in the given dimension.

Default is 0.

Thickness of the slab in number of cells.

Default is 1 and defines a 1 cell thick slab. Value 0 defines an empty slab (nothing to display). Values are automatically "clamped" at the mesh dimensions.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/