Class MoMeshSphereSlice
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
-
- com.openinventor.meshvizxlm.mapping.nodes.MoMeshBaseRepresentation
-
- com.openinventor.meshvizxlm.mapping.nodes.MoMeshRepresentation
-
- com.openinventor.meshvizxlm.mapping.nodes.MoMeshSphereSlice
-
- All Implemented Interfaces:
SafeDisposable
public class MoMeshSphereSlice extends MoMeshRepresentation
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 theMoScalarSetxxx
nodes). To disable coloring set this field to -1. Rendering can be modified using various property nodes (see the "See Also" section).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFVec3f
center
Specifies the sphere's center.SoSFFloat
radius
Specifies the sphere's radius.-
Fields inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshRepresentation
colorScalarSetId
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description MoMeshSphereSlice()
Constructs a rendering node with default center and radius.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MiSphereSliceExtractHexahedronIjk
getHexahedronIjkExtractor()
Gets the sphere slice extractor for hexahedron IJK meshes to reuse outside this node.
Note: The returned object may benull
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 benull
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 benull
if no unstructured mesh has been set in the scene graph or if no render action has traversed the scene graph.-
Methods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshRepresentation
doAction, setExtractorCallback
-
Methods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshBaseRepresentation
affectsState, write
-
Methods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, getRenderEngineMode, GLRender, handleEvent, pick, rayPick
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Method Detail
-
getUnstructuredExtractor
public MiSphereSliceExtractUnstructured getUnstructuredExtractor()
Gets the sphere slice extractor for unstructured meshes to reuse outside this node.
Note: The returned object may benull
if no unstructured mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the sphere slice extractor for unstructured meshes
-
getHexahedronIjkExtractor
public MiSphereSliceExtractHexahedronIjk getHexahedronIjkExtractor()
Gets the sphere slice extractor for hexahedron IJK meshes to reuse outside this node.
Note: The returned object may benull
if no hexahedron mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the sphere slice extractor for hexahedron IJK meshes
-
getIjkExtractor
public MiSphereSliceExtractIjk getIjkExtractor()
Gets the sphere slice extractor for IJK meshes to reuse outside this node.
Note: The returned object may benull
if no IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the sphere slice extractor for IJK meshes
-
-