MoMeshSphereSlice Class Reference
[Representations]

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

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

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoMeshSphereSlice ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFVec3f center
SoSFFloat radius



const
MiSphereSliceExtractUnstructured
getUnstructuredExtractor ()
const
MiSphereSliceExtractUnstructuredIjk
getUnstructuredIjkExtractor ()
const MiSphereSliceExtractIjkgetIjkExtractor ()

Detailed Description

MeshViz Rendering node that displays a sphere slice of a volume mesh.

A sphere slice is an unstructured surface mesh defined by the intersection of a sphere with a volume mesh. The sphere is defined by its center position and radius.

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,
MiSphereSliceExtractIjk, MiSphereSliceExtractUnstructured, MiSphereSliceExtractUnstructuredIjk, MoFaceDetail

See related examples:

SphereCylinderPlaneSlices


Constructor & Destructor Documentation

MoMeshSphereSlice::MoMeshSphereSlice (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshSphereSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshSurfaceRepresentation.

const MiSphereSliceExtractIjk* MoMeshSphereSlice::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 been done yet.
virtual SoType MoMeshSphereSlice::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshSurfaceRepresentation.

const MiSphereSliceExtractUnstructured* MoMeshSphereSlice::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 been done yet.
const MiSphereSliceExtractUnstructuredIjk* MoMeshSphereSlice::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 traversal has been done yet.

Member Data Documentation

Specifies the shpere's center.

Default is 0,0,0.

Specifies the sphere's radius.

Value must be greater than 0.0. Default is 1.


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/