Interface MiExtractorCallback


  • public interface MiExtractorCallback
    Base interface for extraction callback interfaces.

    This interface specifies the methods used by extractors to notify the application when an extraction starts and stops.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void beginCallback​(boolean geomChanged, boolean topoChanged, boolean dataSetChanged)
      This method is called each time a new extraction starts and only if the mesh, the cell filter, the tessellator or the data sets have changed since the last extraction.
      void endCallback​(boolean geomChanged, boolean topoChanged, boolean dataSetChanged)
      This method is called each time a new extraction ends and only if the mesh, the cell filters, the tessellator or the data sets have changed since the last extraction.
    • Method Detail

      • beginCallback

        void beginCallback​(boolean geomChanged,
                           boolean topoChanged,
                           boolean dataSetChanged)
        This method is called each time a new extraction starts and only if the mesh, the cell filter, the tessellator or the data sets have changed since the last extraction.
        Parameters:
        geomChanged - true if the geometry of the extracted mesh must be updated
        topoChanged - true if the topology of the extracted mesh must be updated
        dataSetChanged - true if the data sets associated to the extracted mesh must be updated
      • endCallback

        void endCallback​(boolean geomChanged,
                         boolean topoChanged,
                         boolean dataSetChanged)
        This method is called each time a new extraction ends and only if the mesh, the cell filters, the tessellator or the data sets have changed since the last extraction. After this call, the extracted mesh has been updated and can then be parsed again to retrieve the new values.
        Parameters:
        geomChanged - true if the geometry of the extracted mesh has just been updated
        topoChanged - true if the topology of the extracted mesh has just been updated
        dataSetChanged - true if the data sets associated to the extracted mesh has just been updated