Class FreesurferSurfaceLoader

java.lang.Object
All Implemented Interfaces:
InterfaceIO, IconObject

public class FreesurferSurfaceLoader
extends SurfaceFileLoader
Reads a Freesurfer surface file, binary or ASCII format.

See: http://www.grahamwideman.com/gw/brain/fs/surfacefileformats.htm.

Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Constructor Details

    • FreesurferSurfaceLoader

      public FreesurferSurfaceLoader()
    • FreesurferSurfaceLoader

      public FreesurferSurfaceLoader​(java.io.File file)
  • Method Details

    • loadSurface

      public Mesh3DInt loadSurface​(ProgressUpdater progress_bar, InterfaceIOOptions options) throws java.io.IOException
      Description copied from class: SurfaceFileLoader
      Loads a single surface from the appropriate source. Returns a Mesh3DInt object if load was successful, or null otherwise. This method should also set the file loader and reference URL for the object.
      Specified by:
      loadSurface in class SurfaceFileLoader
      Returns:
      Mesh3DInt mesh representing the surface being loaded
      Throws:
      java.io.IOException
    • loadAsciiSurface

      protected Mesh3DInt loadAsciiSurface()