MoMeshFenceSlice Class Reference
[Representations]

MeshViz Rendering node that displays a fence slice within a volume mesh. More...

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

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoMeshFenceSlice ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFVec3f polyline
SoSFVec3f direction



const
MiFenceSliceExtractUnstructured
getUnstructuredExtractor ()
const
MiFenceSliceExtractHexahedronIjk
getHexahedronIjkExtractor ()
const MiFenceSliceExtractIjkgetIjkExtractor ()

Deprecated



SoDEPRECATED const
MiFenceSliceExtractHexahedronIjk
getUnstructuredIjkExtractor ()

Detailed Description

MeshViz Rendering node that displays a fence slice within a volume mesh.

A fence slice is an unstructured surface mesh defined by the intersection of several arbitrary planes (the fences) with a volume mesh. These fences are defined by a polyline and a direction. Each segment of the polyline is extruded along the direction to form a clipped plane slice. Thus, each fence goes through a segment of the polyline. Each plane slice is clipped by the extrusion of the 2 endpoints of each segment in the direction.

The fence 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, MoScalarSet,
MiFenceSliceExtractIjk, MiFenceSliceExtractUnstructured, MiFenceSliceExtractHexahedronIjk, MoFaceDetail

See related examples:

FenceSlice, FenceSliceSelection


Constructor & Destructor Documentation

MoMeshFenceSlice::MoMeshFenceSlice (  ) 

Constructor.


Member Function Documentation

static SoType MoMeshFenceSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from MoMeshSurfaceRepresentation.

const MiFenceSliceExtractHexahedronIjk* MoMeshFenceSlice::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 MiFenceSliceExtractIjk* MoMeshFenceSlice::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 MoMeshFenceSlice::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from MoMeshSurfaceRepresentation.

const MiFenceSliceExtractUnstructured* MoMeshFenceSlice::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 MiFenceSliceExtractHexahedronIjk* MoMeshFenceSlice::getUnstructuredIjkExtractor (  ) 

Member Data Documentation

Direction defining the fences.

This field is set to the x-axis direction by default.

Set of points defining the segments through which fence must pass.

Each segment is extruded along the direction to form a strip of plane slices. There is as much fence as segments. This field is empty by default.


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/