Class MiCellExtractIjk

  • All Implemented Interfaces:
    MiBaseExtractor, MiExtractorIjk
    Direct Known Subclasses:
    MiCellExtractHexahedronIjk

    public abstract class MiCellExtractIjk
    extends java.lang.Object
    implements MiExtractorIjk
    Cell extractor for structured volume meshes.

    Extracts a list of cells from the input structured mesh and builds a surface mesh representing the extracted cells.

    • Method Detail

      • extractCell

        public abstract MeXSurfaceMeshUnstructured<MeXSurfaceCell,​MeXSurfaceTopologyExplicitI<MeXSurfaceCell>,​MeXGeometryI> extractCell​(int[] cellIndexes,
                                                                                                                                                    double factor,
                                                                                                                                                    MiCellFilterIjk cellFilter)
        Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original volume mesh.

        Cells are scaled according to the given factor:
        Shrinking: factor < 1
        Expanding: factor > 1

        Parameters:
        cellIndexes - indices of the cells to extract {i0, j0, k0, i1, j1, k1, ...}
        factor - cell scale factor
        cellFilter - cell filter
        Returns:
        an unstructured surface mesh from the faces of the extracted cells
      • extractScalarSet

        public abstract MeXScalardSetI extractScalarSet​(MiScalardSetIjk scalarSet)
        Extracts a PER_CELL scalar set from the original mesh. The scalars are mapped onto the current extracted mesh.

        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:
        scalarSet - the input scalar set defined on the volume mesh
        Returns:
        the output scalar set defined on the extracted mesh
      • extractVec3Set

        public abstract MeXVec3dSetI extractVec3Set​(MiVec3dSetIjk vectorSet)
        Extracts a vector set from the original mesh. The vectors are mapped onto the current extracted mesh.

        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:
        vectorSet - the input vector set defined on the volume mesh
        Returns:
        the output vector set defined on the extracted mesh
      • extractStringSet

        public abstract MeXStringSetI extractStringSet​(MiStringSetIjk inputSet)
        Extracts a string set from the original mesh. The strings are mapped onto the current extracted mesh.

        Note: The argument i,j,k of the method MiStringSetIjk.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 string set defined on the original mesh.
        Returns:
        the output string set defined on the extracted mesh.