Class MoMeshSkin
- 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.MoMeshSkin
-
- All Implemented Interfaces:
SafeDisposable
public class MoMeshSkin extends MoMeshRepresentation
Rendering node that displays the skin of a volume mesh.The skin of a mesh is an unstructured surface mesh made up of all the faces that belong to only one cell.
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 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 SoMFInt64
maxCellRanges
Deprecated.As of Open Inventor 9.5.1, useMoCellRanges
instead.SoMFInt64
minCellRanges
Deprecated.As of Open Inventor 9.5.1, useMoCellRanges
instead.-
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 MoMeshSkin()
Constructs a rendering node to display the skin of a volume mesh.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MiSkinExtractHexahedronIjk
getHexahedronIjkExtractor()
Gets the skin 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.MiSkinExtractIjk
getIjkExtractor()
Gets the skin 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.MiSkinExtractUnstructured
getUnstructuredExtractor()
Gets the skin 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
-
minCellRanges
@Deprecated public SoMFInt64 minCellRanges
Deprecated.As of Open Inventor 9.5.1, useMoCellRanges
instead.Minimum cell index values for extracting the mesh skin to display.This field is empty by default.
- If the field is empty, the skin extraction starts from the first cell of the mesh.
- If the mesh is unstructured, a single value specifies the index of the first cell index to use.
- If the mesh is a structured volume mesh, three values specify the first I, J and K cell indices to use (In this case, if less than three values are provided, the field is ignored.).
-
maxCellRanges
@Deprecated public SoMFInt64 maxCellRanges
Deprecated.As of Open Inventor 9.5.1, useMoCellRanges
instead.Maximum cell index values for extracting the mesh skin to display.This field is empty by default.
- If the field is empty, the skin extraction runs up to the last cell of the mesh.
- If the mesh is unstructured, a single value specifies the index of the last cell index to use.
- If the mesh is a structured volume mesh, three values specify the last I, J and K cell indices to use (In this case, if less than three values are provided, the field is ignored.).
-
-
Method Detail
-
getUnstructuredExtractor
public MiSkinExtractUnstructured getUnstructuredExtractor()
Gets the skin 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 skin extractor for unstructured meshes
-
getHexahedronIjkExtractor
public MiSkinExtractHexahedronIjk getHexahedronIjkExtractor()
Gets the skin 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 skin extractor for hexahedron IJK meshes
-
getIjkExtractor
public MiSkinExtractIjk getIjkExtractor()
Gets the skin 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 skin extractor for IJK meshes
-
-