Package mgui.io.foreign.minc
Class MincSurfaceDataWriter
java.lang.Object
mgui.io.FileWriter
mgui.io.domestic.shapes.SurfaceDataFileWriter
mgui.io.foreign.minc.MincSurfaceDataWriter
- All Implemented Interfaces:
InterfaceIO
,IconObject
public class MincSurfaceDataWriter extends SurfaceDataFileWriter
Writes a Minc surface data file, which is simply a text file list of vertex-wise values, one per line, corresponding
to a surface mesh.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
number_format
Fields inherited from class mgui.io.FileWriter
dataFile, dataURL, failure_message, options, success_message
-
Constructor Summary
Constructors Constructor Description MincSurfaceDataWriter()
MincSurfaceDataWriter(java.io.File file)
MincSurfaceDataWriter(java.io.File file, java.lang.String format)
MincSurfaceDataWriter(java.lang.String format)
-
Method Summary
Modifier and Type Method Description void
setFormat(java.lang.String number_format)
boolean
writeValues(java.util.ArrayList<MguiNumber> values, ProgressUpdater progress_bar)
Methods inherited from class mgui.io.domestic.shapes.SurfaceDataFileWriter
getFailureMessage, getObjectIcon, getSuccessMessage, getSupportedObjects, getTitle, write, writeValues
Methods inherited from class mgui.io.FileWriter
getComplementIOType, getFile, getIOType, getLoaderComplement, getOptions, getProgressMessage, getURL, setFile, setOptions, setURL, toString, write, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
number_format
public java.lang.String number_format
-
-
Constructor Details
-
MincSurfaceDataWriter
public MincSurfaceDataWriter() -
MincSurfaceDataWriter
public MincSurfaceDataWriter(java.lang.String format) -
MincSurfaceDataWriter
public MincSurfaceDataWriter(java.io.File file) -
MincSurfaceDataWriter
public MincSurfaceDataWriter(java.io.File file, java.lang.String format)
-
-
Method Details
-
setFormat
public void setFormat(java.lang.String number_format)- Specified by:
setFormat
in classSurfaceDataFileWriter
-
writeValues
- Specified by:
writeValues
in classSurfaceDataFileWriter
-