Package mgui.io.foreign.fsl
Class FSLVolumeLoader
java.lang.Object
mgui.io.FileLoader
mgui.io.domestic.shapes.InterfaceShapeLoader
mgui.io.domestic.shapes.VolumeFileLoader
mgui.io.foreign.fsl.FSLVolumeLoader
- All Implemented Interfaces:
InterfaceIO,IconObject
public class FSLVolumeLoader extends VolumeFileLoader
Loader for a FSL-style volume file (mgh/mgz).
See http://ftp.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.io.domestic.shapes.VolumeFileLoader
dataMax, dataMin, flipX, flipY, flipZ, maxAlpha, minAlpha, setAlphaFields inherited from class mgui.io.FileLoader
dataFile, dataURL, options -
Constructor Summary
Constructors Constructor Description FSLVolumeLoader()FSLVolumeLoader(java.io.File file) -
Method Summary
Modifier and Type Method Description VolumeMetadatagetVolumeMetadata()Returns a set of metadata describing the current volume file.protected booleansetVolume3DBlocking(Volume3DInt volume, java.lang.String column, int v, VolumeInputOptions options, ProgressUpdater progress)Methods inherited from class mgui.io.domestic.shapes.VolumeFileLoader
getDefaultOptions, getObjectIcon, getSupportedObjects, getVolCount, getVolume3D, getVolume3D, getVolume3D, getVolume3D, getVolume3D, getVolume3DCustom, load, loadObject, loadShape, loadVolume, loadVolume, loadVolume, setAlpha, setAlpha, setVolume3D, setVolume3D, setVolume3D, setVolume3D, setVolume3DWorkerMethods inherited from class mgui.io.FileLoader
getComplementIOType, getFailureMessage, getFile, getIOType, getOptions, getProgressMessage, getSuccessMessage, getTitle, getWriterComplement, load, load, loadObject, loadObject, loadObject, setFile, setOptions, setURL, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
FSLVolumeLoader
public FSLVolumeLoader() -
FSLVolumeLoader
public FSLVolumeLoader(java.io.File file)
-
-
Method Details
-
getVolumeMetadata
Description copied from class:VolumeFileLoaderReturns a set of metadata describing the current volume file.- Specified by:
getVolumeMetadatain classVolumeFileLoader- Returns:
- Throws:
java.io.IOExceptionjava.io.FileNotFoundException
-
setVolume3DBlocking
protected boolean setVolume3DBlocking(Volume3DInt volume, java.lang.String column, int v, VolumeInputOptions options, ProgressUpdater progress) throws ShapeIOException- Specified by:
setVolume3DBlockingin classVolumeFileLoader- Throws:
ShapeIOException
-