Package mgui.io.foreign.amira
Class AmiraTractLoader
java.lang.Object
mgui.io.FileLoader
mgui.io.domestic.shapes.PolygonSet3DLoader
mgui.io.foreign.amira.AmiraTractLoader
- All Implemented Interfaces:
InterfaceIO,IconObject
public class AmiraTractLoader extends PolygonSet3DLoader
-
Field Summary
Fields Modifier and Type Field Description protected intformatstatic intFORMAT_ASCIIstatic intFORMAT_BINARYFields inherited from class mgui.io.domestic.shapes.PolygonSet3DLoader
embed_single_polygon, min_nodes, skip, skip_lines, skip_min_nodesFields inherited from class mgui.io.FileLoader
dataFile, dataURL, options -
Constructor Summary
Constructors Constructor Description AmiraTractLoader(java.io.File file) -
Method Summary
Modifier and Type Method Description protected ShapeSet3DIntloadAsciiPolygons()ShapeSet3DIntloadPolygonSetBlocking(ProgressUpdater progress_bar)protected voidsetFace(Mesh3D.MeshFace3D face, int coord, int val)protected voidsetNode(org.jogamp.vecmath.Point3f pt, int coord, float val)Methods inherited from class mgui.io.domestic.shapes.PolygonSet3DLoader
getFailureMessage, load, loadObject, loadPolygonSetMethods inherited from class mgui.io.FileLoader
getComplementIOType, getFile, getIOType, getObjectIcon, getOptions, getProgressMessage, getSuccessMessage, getSupportedObjects, 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
-
Field Details
-
FORMAT_BINARY
public static final int FORMAT_BINARY- See Also:
- Constant Field Values
-
FORMAT_ASCII
public static final int FORMAT_ASCII- See Also:
- Constant Field Values
-
format
protected int format
-
-
Constructor Details
-
AmiraTractLoader
public AmiraTractLoader(java.io.File file)
-
-
Method Details
-
loadPolygonSetBlocking
public ShapeSet3DInt loadPolygonSetBlocking(ProgressUpdater progress_bar) throws java.io.IOException- Overrides:
loadPolygonSetBlockingin classPolygonSet3DLoader- Throws:
java.io.IOException
-
loadAsciiPolygons
-
setNode
protected void setNode(org.jogamp.vecmath.Point3f pt, int coord, float val) -
setFace
-