Class MincSurfaceDataLoader

java.lang.Object
mgui.io.FileLoader
mgui.io.domestic.shapes.SurfaceDataFileLoader
mgui.io.foreign.minc.MincSurfaceDataLoader
All Implemented Interfaces:
InterfaceIO, IconObject

public class MincSurfaceDataLoader
extends SurfaceDataFileLoader
  • Field Details

  • Constructor Details

    • MincSurfaceDataLoader

      public MincSurfaceDataLoader()
    • MincSurfaceDataLoader

      public MincSurfaceDataLoader​(int format)
    • MincSurfaceDataLoader

      public MincSurfaceDataLoader​(java.io.File file)
    • MincSurfaceDataLoader

      public MincSurfaceDataLoader​(java.io.File file, int format)
  • Method Details

    • setFormat

      public void setFormat​(int format)
    • load

      public boolean load​(InterfaceIOOptions options, ProgressUpdater progress_bar)
      Description copied from class: FileLoader
      Loads data from the set of files or URLs specified by options. Loading is controlled by the specifications of options. If loaded object is of type PersistentObject, this method should also set the file loader and reference URL for the object.

      This method should also set the URL reference and writer and loader attributes to match this one and its complement.

      Overrides:
      load in class SurfaceDataFileLoader
      progress_bar - An optional progress updater. Can be null.
      Returns:
    • loadValues

      public java.util.ArrayList<MguiNumber> loadValues​(ProgressUpdater progress_bar)
      Specified by:
      loadValues in class SurfaceDataFileLoader