MoMeshElevatedPlaneSlice Class Reference
[Representations]

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

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

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoMeshElevatedPlaneSlice ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFDouble scaleFactor
SoSFInt32 elevationScalarSetId

Detailed Description

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

An elevated plane slice is based on an unstructured surface mesh defined by the intersection of an arbitrary plane with a volume mesh. This surface is extruded with a height depending on the data extracted from the plane using the elevation scalar set, and a scale factor. 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).

FILE FORMAT/DEFAULT

SEE ALSO

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

See related examples:

ElevatedPlaneSLice


Constructor & Destructor Documentation

MoMeshElevatedPlaneSlice::MoMeshElevatedPlaneSlice (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshElevatedPlaneSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshPlaneSlice.

virtual SoType MoMeshElevatedPlaneSlice::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshPlaneSlice.


Member Data Documentation

The scalar set to be used to map elevation onto the representation.


During traversal of the scene graph, scalar set nodes are accumulated in a list of scalar sets. elevationScalarSetId is an index into this list. Default value is 0 which means that the first scalar set stored in the scene graph is used. Setting this value to -1 enables the elevation values to be the same as used for color mapping. Setting this value to another id enables the elevation values to be different than the ones used for color mapping.

The scaleFactor can be set to control the height of extruded cells.

By default, this value is set to 1.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/