Interface MiCellFilterI

  • All Superinterfaces:

    public interface MiCellFilterI
    extends MiCellFilter
    Defines a cell filter for unstructured meshes.

    This interface is used for filtering cells on unstructured meshes.
    Filtering cells is a way to specify which cells are used to build the mesh representation.

    When the method acceptCell returns false the cell specified by the index i is not taken into account by the extraction. It is as if the mesh does not contain this cell.

    In order to define a custom cell filter for an unstructured mesh, create a class derived from this class.

    See Also:
    • Method Detail

      • acceptCell

        boolean acceptCell​(long cellIndex)
        Checks if the cell is accepted.

        Accepted cells are used during the extraction process.

        cellIndex - the index of the cell to be checked.
        true if the cell is accepted