Class MoMeshOutline
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.MoMeshOutline
- All Implemented Interfaces:
SafeDisposable
Rendering node that displays the outline of a mesh.
The outline of a mesh is an unstructured line mesh made up of all the edges that belong to only one cell. Internal edges of a mesh will not be displayed except when they are adjacent to dead cells.
The outline can be colored using a scalar set specified 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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
Fields inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshRepresentation
colorScalarSetIdFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the outline extractor for hexahedron IJK meshes to reuse outside this node.
Note: The returned object may benullif no hexahedron IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.Gets the outline extractor for structured surface meshes to reuse outside this node.
Note: The returned object may benullif no structured surface mesh has been set in the scene graph or if no render action has traversed the scene graph.Gets the outline extractor for IJK meshes to reuse outside this node.
Note: The returned object may benullif no IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.Gets the outline extractor for unstructured meshes to reuse outside this node.
Note: The returned object may benullif 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, setExtractorCallbackMethods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshBaseRepresentation
affectsState, writeMethods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, getRenderEngineMode, GLRender, handleEvent, pick, rayPickMethods inherited from class com.openinventor.inventor.nodes.SoNode
copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touchMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Constructor Details
-
MoMeshOutline
public MoMeshOutline()Constructs a rendering node to display outline of a mesh.
-
-
Method Details
-
getUnstructuredExtractor
Gets the outline extractor for unstructured meshes to reuse outside this node.
Note: The returned object may benullif no unstructured mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the outline extractor for unstructured meshes
-
getHexahedronIjkExtractor
Gets the outline extractor for hexahedron IJK meshes to reuse outside this node.
Note: The returned object may benullif no hexahedron IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the outline extractor for hexahedron IJK meshes
-
getIjkExtractor
Gets the outline extractor for IJK meshes to reuse outside this node.
Note: The returned object may benullif no IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the outline extractor for IJK meshes
-
getIjExtractor
Gets the outline extractor for structured surface meshes to reuse outside this node.
Note: The returned object may benullif no structured surface mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the outline extractor for structured surface meshes
-