Class MiSlabExtractIjk

java.lang.Object
com.openinventor.meshvizxlm.extractors.slab.MiSlabExtractIjk
All Implemented Interfaces:
MiBaseExtractor, MiExtractorIjk
Direct Known Subclasses:
MiSlabExtractHexahedronIjk

public abstract class MiSlabExtractIjk extends Object implements MiExtractorIjk
Extract a slab of a structured volume mesh.

Builds a MiSurfaceMeshUnstructured interfaces containing the mesh skin of a slab defined by an I, J or K index and a thickness.

  • Method Details

    • getNewInstance

      public static <T extends MiTopologyIjk, G extends MiGeometryHexahedronIjk> MiSlabExtractIjk getNewInstance(MiVolumeMeshVertexHexahedronIjk<T,G> mesh)
      Create an instance of a slab extractor for a non indexed hexahedron volume mesh IJK.
      Parameters:
      mesh - the input mesh
      Returns:
      a slab extractor for a non indexed hexahedron volume mesh IJK.
    • extractSlab

      public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,MeXGeometryI> extractSlab(int index, int thickness, Dimension dimension, MiCellFilterIjk cellFilter)
      Builds the mesh skin of the slab defined by the specified index on the given dimension and the specified thickness.
      Parameters:
      index - index on the axis
      thickness - thickness of the slab
      dimension - the dimension along which the slab will be computed
      cellFilter - the cell filter
      Returns:
      the skin extracted as an unstructured surface mesh.
    • extractScalarSet

      public abstract MeXScalardSetI extractScalarSet(MiScalardSetIjk inputSet)
      Computes a PER_CELL scalar set on the extracted skin.

      Note: The argument i,j,k of the method MiScalardSetIjk.get(int, int, int) refers to the cell (i,j,k). Thus the binding of the input set must be PER_CELL. An UnsupportedOperationException is thrown otherwise.

      Parameters:
      inputSet - the input scalar set defined on the volume mesh
      Returns:
      the output scalar set defined on the resulting skin mesh
    • extractVec3Set

      public abstract MeXVec3dSetI extractVec3Set(MiVec3dSetIjk inputSet)
      Computes a vector set on the extracted skin.

      Note: The argument i,j,k of the method MiVec3dSetIjk.get(int, int, int) refers to the cell (i,j,k). Thus the binding of the input set must be PER_CELL. An UnsupportedOperationException is thrown otherwise.

      Parameters:
      inputSet - the input vector set defined on the volume mesh
      Returns:
      the output vector set defined on the resulting skin mesh
    • getExtract

      Returns the result of the extraction as a mesh.
      Returns:
      result of the extraction as a mesh