Class MoMeshIsosurface
- 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.MoMeshIsosurface
-
- All Implemented Interfaces:
SafeDisposable
public class MoMeshIsosurface extends MoMeshRepresentation
Rendering node that displays an isosurface of a volume mesh.An isosurface is an unstructured surface mesh defined by all the points having the specified value in the scalar data set. The scalar set used to extract the isosurface is defined by the inherited
isoScalarSetId
field. This is an index into the list of scalar sets existing in the traversal state (see theMoScalarSetxxx
nodes). This scalar set must be defined per node to be valid.The isolines can be colored using a scalar set defined in the
colorScalarSetId
inherited field. 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 SoSFInt32
isoScalarSetId
Field representing the scalar set node to be used to compute the iso value.SoSFFloat
isoValue
Isovalue to display.-
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 MoMeshIsosurface()
Constructs a rendering node with default iso value and scalar set id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MiIsosurfExtractHexahedronIjk
getHexahedronIjkExtractor()
Gets the isosurface 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.MiIsosurfExtractIjk
getIjkExtractor()
Gets the isosurface 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.MiIsosurfExtractUnstructured
getUnstructuredExtractor()
Gets the isosurface 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
-
-
-
-
Field Detail
-
isoValue
public SoSFFloat isoValue
Isovalue to display. The default value is 0.0.
-
isoScalarSetId
public SoSFInt32 isoScalarSetId
Field representing the scalar set node to be used to compute the iso value. During traversal of the scene graph, scalar set nodes are accumulated in a list of scalar sets.isoScalarSetId
is an index into this list.
The default value is 0.
Note: This scalar set must be defined per node to be valid.
-
-
Method Detail
-
getUnstructuredExtractor
public MiIsosurfExtractUnstructured getUnstructuredExtractor()
Gets the isosurface 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 isosurface extractor for unstructured meshes
-
getHexahedronIjkExtractor
public MiIsosurfExtractHexahedronIjk getHexahedronIjkExtractor()
Gets the isosurface 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 isosurface extractor for hexahedron IJK meshes
-
getIjkExtractor
public MiIsosurfExtractIjk getIjkExtractor()
Gets the isosurface 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 isosurface extractor for IJK meshes
-
-