public class MoMeshSphereSlice extends MoMeshRepresentation
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).
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFVec3f |
center
Specifies the sphere's center.
|
SoSFFloat |
radius
Specifies the sphere's radius.
|
colorScalarSetId
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
MoMeshSphereSlice()
Constructs a rendering node with default center and radius.
|
Modifier and Type | Method and Description |
---|---|
MiSphereSliceExtractHexahedronIjk |
getHexahedronIjkExtractor()
Gets the sphere 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. |
MiSphereSliceExtractIjk |
getIjkExtractor()
Gets the sphere 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. |
MiSphereSliceExtractUnstructured |
getUnstructuredExtractor()
Gets the sphere 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, setExtractorCallback
write
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPick
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoSFVec3f center
(0,0,0)
.public SoSFFloat radius
public MoMeshSphereSlice()
center = (0,0,0)
radius = 1
public MiSphereSliceExtractUnstructured getUnstructuredExtractor()
null
if no unstructured
mesh has been set in the scene graph or if no render action has traversed
the scene graph.public MiSphereSliceExtractHexahedronIjk getHexahedronIjkExtractor()
null
if no hexahedron mesh
has been set in the scene graph or if no render action has traversed the
scene graph.public MiSphereSliceExtractIjk 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 January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com