public class MoMeshCylinderSlice extends MoMeshRepresentation
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).
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFVec3f |
center
Specifies the cylinder's center.
The default value is (0,0,0). |
SoSFVec3f |
direction
Specifies the cylinder's direction.
The default value is (1,0,0). |
SoSFFloat |
radius
Specifies the cylinder's radius.
|
colorScalarSetIdVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
MoMeshCylinderSlice()
Constructs a rendering node with default position, radius and direction
vector.
|
| Modifier and Type | Method and Description |
|---|---|
MiCylinderSliceExtractHexahedronIjk |
getHexahedronIjkExtractor()
Gets the cylinder slice extractor for hexahedron IJK meshes to reuse
outside this node.
Note: The returned object may be null if no hexahedron mesh
has been set in the scene graph or if no render action has traversed the
scene graph. |
MiCylinderSliceExtractIjk |
getIjkExtractor()
Gets the cylinder slice extractor for IJK meshes to reuse outside this
node.
Note: The returned object may be null if no IJK mesh has
been set in the scene graph or if no render action has traversed the scene
graph. |
MiCylinderSliceExtractUnstructured |
getUnstructuredExtractor()
Gets the cylinder slice extractor for unstructured meshes to reuse outside
this node.
Note: The returned object may be null if no unstructured
mesh has been set in the scene graph or if no render action has traversed
the scene graph. |
doAction, setExtractorCallbackwritecallback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPickaffectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touchcopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic SoSFVec3f center
(0,0,0).public SoSFFloat radius
public SoSFVec3f direction
(1,0,0).public MoMeshCylinderSlice()
center = (0,0,0)
radius = 1
direction = (1,0,0)
public MiCylinderSliceExtractUnstructured getUnstructuredExtractor()
null if no unstructured
mesh has been set in the scene graph or if no render action has traversed
the scene graph.public MiCylinderSliceExtractHexahedronIjk getHexahedronIjkExtractor()
null if no hexahedron mesh
has been set in the scene graph or if no render action has traversed the
scene graph.public MiCylinderSliceExtractIjk getIjkExtractor()
null if no IJK mesh has
been set in the scene graph or if no render action has traversed the scene
graph.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com