Class MoMeshSlab
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.MoMeshSlab
- All Implemented Interfaces:
SafeDisposable
Rendering node that displays a slab of an IJK volume mesh.
A slab of a mesh is an unstructured surface mesh (skin) defined by an I, J or K index and a thickness.
The mesh 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).
- See Also:
-
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
FieldsModifier and TypeFieldDescriptionThe dimension along which the slab will be computed.The index of the slab.Thickness of the slab in number of cells.Fields inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshRepresentation
colorScalarSetId
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a rendering node to display a slab of an IJK volume mesh. -
Method Summary
Modifier and TypeMethodDescriptionGets the slab extractor for hexahedron IJK meshes to reuse outside this node.
Note: The returned object may benull
if no hexahedron IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.Gets the slab 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.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
-
Field Details
-
index
The index of the slab. The default value is 0. -
thickness
Thickness of the slab in number of cells. The default value is 1. -
dimension
The dimension along which the slab will be computed. The default value is I.
-
-
Constructor Details
-
MoMeshSlab
public MoMeshSlab()Constructs a rendering node to display a slab of an IJK volume mesh.
-
-
Method Details
-
getHexahedronIjkExtractor
Gets the slab extractor for hexahedron IJK meshes to reuse outside this node.
Note: The returned object may benull
if no hexahedron IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the slab extractor for hexahedron IJK meshes
-
getIjkExtractor
Gets the slab 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 slab extractor for IJK meshes
-