MoMeshCylinderSlice Class Reference
[Representations]

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

#include <MeshVizInterface/mapping/nodes/MoMeshCylinderSlice.h>

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoMeshCylinderSlice ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFVec3f center
SoSFFloat radius
SoSFVec3f direction



const
MiCylinderSliceExtractUnstructured
getUnstructuredExtractor ()
const
MiCylinderSliceExtractUnstructuredIjk
getUnstructuredIjkExtractor ()
const MiCylinderSliceExtractIjkgetIjkExtractor ()

Detailed Description

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

A cylinder slice is an unstructured surface mesh defined by the intersection of an infinite cylinder with a volume mesh. The cylinder is defined by a position, a radius and a direction vector.

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,
MiCylinderSliceExtractIjk, MiCylinderSliceExtractUnstructured, MiCylinderSliceExtractUnstructuredIjk

See related examples:

DemoSphereCylinderPlaneSlices


Constructor & Destructor Documentation

MoMeshCylinderSlice::MoMeshCylinderSlice (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshCylinderSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshRepresentation.

const MiCylinderSliceExtractIjk* MoMeshCylinderSlice::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 MoMeshCylinderSlice::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshRepresentation.

const MiCylinderSliceExtractUnstructured* MoMeshCylinderSlice::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 MiCylinderSliceExtractUnstructuredIjk* MoMeshCylinderSlice::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 cylinder's center.

Default is 0,0,0.

Specifies the cylinder's direction.

Default is 1,0,0.

Specifies the cylinder'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 by FEI reference manual, generated on 21 Sep 2015
Copyright © FEI S.A.S. All rights reserved.
http://www.vsg3d.com