Class MoMeshOutline

All Implemented Interfaces:
SafeDisposable

public class MoMeshOutline extends MoMeshRepresentation
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:
  • Constructor Details

    • MoMeshOutline

      public MoMeshOutline()
      Constructs a rendering node to display outline of a mesh.
  • Method Details

    • getUnstructuredExtractor

      public MiOutlineExtractUnstructured getUnstructuredExtractor()
      Gets the outline extractor for unstructured meshes to reuse outside this node.
      Note: The returned object may be null if 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

      public MiOutlineExtractHexahedronIjk getHexahedronIjkExtractor()
      Gets the outline extractor for hexahedron IJK meshes to reuse outside this node.
      Note: The returned object may be null if 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

      public MiOutlineExtractIjk getIjkExtractor()
      Gets the outline extractor for IJK meshes to reuse outside this node.
      Note: The returned object may be null if 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

      public MiOutlineExtractIj getIjExtractor()
      Gets the outline extractor for structured surface meshes to reuse outside this node.
      Note: The returned object may be null if 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