MoMeshLogicalSlice Class Reference
[Representations]

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

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

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

List of all members.

Classes

class  SliceAxis

Public Member Functions

virtual SoType getTypeId () const
 MoMeshLogicalSlice ()
const
MiLogicalSliceExtractRegular
getRegularExtractor ()
const
MiLogicalSliceExtractRectilinear
getRectilinearExtractor ()
const
MiLogicalSliceExtractCurvilinear
getCurvilinearExtractor ()
const
MiLogicalSliceExtractHexahedronIjk
getHexahedronIjkExtractor ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFUInt32 sliceIndex
SoSFEnum sliceAxis
SoSFBool upperVertex

Deprecated



static SoDEPRECATED const
MiMesh::Dimension 
SLICE_I = MiMesh::DIMENSION_I
static SoDEPRECATED const
MiMesh::Dimension 
SLICE_J = MiMesh::DIMENSION_J
static SoDEPRECATED const
MiMesh::Dimension 
SLICE_K = MiMesh::DIMENSION_K
SoDEPRECATED const
MiLogicalSliceExtractHexahedronIjk
getUnstructuredIjkExtractor ()

Detailed Description

MeshViz Rendering node that displays a logical slice of a structured volume mesh.

A logical slice is an unstructured surface mesh extracted from an IJK volume mesh along the upper or lower faces of a "row" of cells. It is defined by a slice axis, an index and a boolean flag.

The slice axis can be MiMesh::Dimension::I, MiMesh::Dimension::J or MiMesh::Dimension::K. The index represents a constant value for I, J or K (whichever is the slice axis). The boolean upperVertex specifies whether the slice is rendered using the lower or upper vertices (roughly the near or far faces) of the cells.

If N is the number of cells on the specified sliceAxis, then the valid range for sliceIndex is 0..N. As a convenience, when sliceIndex = N, the N-1 cells are used but upperVertex is automatically considered to be TRUE.

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

An MoMeshLogicalSlice is extracted along one face of each cell 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. MoMeshSlab is related, but extracts all visible faces from a row of cells with the same index in the given dimension I, J or K.

FILE FORMAT/DEFAULT

SEE ALSO

MoMeshSlab, MoMeshInterpolatedLogicalSlice,
MoCellFilter, MoColorMapping, MoDrawStyle, MoMaterial,
MiLogicalSliceExtractRegular, MiLogicalSliceExtractRectilinear, MiLogicalSliceExtractCurvilinear, MiLogicalSliceExtractHexahedronIjk, MoFaceDetail

See related examples:

IsolineOnIsosurface, LogicalSlice, VolumeMesh


Constructor & Destructor Documentation

MoMeshLogicalSlice::MoMeshLogicalSlice (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshLogicalSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshSurfaceRepresentation.

const MiLogicalSliceExtractCurvilinear* MoMeshLogicalSlice::getCurvilinearExtractor (  ) 
const MiLogicalSliceExtractHexahedronIjk* MoMeshLogicalSlice::getHexahedronIjkExtractor (  ) 
const MiLogicalSliceExtractRectilinear* MoMeshLogicalSlice::getRectilinearExtractor (  ) 
const MiLogicalSliceExtractRegular* MoMeshLogicalSlice::getRegularExtractor (  ) 

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. Use the method corresponding to the type of mesh stored in the scene graph.
virtual SoType MoMeshLogicalSlice::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshSurfaceRepresentation.

SoDEPRECATED const MiLogicalSliceExtractHexahedronIjk* MoMeshLogicalSlice::getUnstructuredIjkExtractor (  ) 

Member Data Documentation

SoDEPRECATED const MiMesh::Dimension MoMeshLogicalSlice::SLICE_I = MiMesh::DIMENSION_I [static]

Slice at I constant.

Deprecated:

Deprecated since Open Inventor 9300
Use MiMesh::Dimension instead.
SoDEPRECATED const MiMesh::Dimension MoMeshLogicalSlice::SLICE_J = MiMesh::DIMENSION_J [static]

Slice at J constant.

Deprecated:

Deprecated since Open Inventor 9300
Use MiMesh::Dimension instead.
SoDEPRECATED const MiMesh::Dimension MoMeshLogicalSlice::SLICE_K = MiMesh::DIMENSION_K [static]

Slice at K constant.

Deprecated:

Deprecated since Open Inventor 9300
Use MiMesh::Dimension instead.

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

Default is MiMesh::Dimension::I.

Index of the slice to display.

Default is 0.

If FALSE (the default), displays the lower part of the cell, otherwise displays the upper part of the cell.


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/