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 int
format
static int
FORMAT_ASCII
static int
FORMAT_BINARY
Fields inherited from class mgui.io.domestic.shapes.PolygonSet3DLoader
embed_single_polygon, min_nodes, skip, skip_lines, skip_min_nodes
Fields 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 ShapeSet3DInt
loadAsciiPolygons()
ShapeSet3DInt
loadPolygonSetBlocking(ProgressUpdater progress_bar)
protected void
setFace(Mesh3D.MeshFace3D face, int coord, int val)
protected void
setNode(org.jogamp.vecmath.Point3f pt, int coord, float val)
Methods inherited from class mgui.io.domestic.shapes.PolygonSet3DLoader
getFailureMessage, load, loadObject, loadPolygonSet
Methods inherited from class mgui.io.FileLoader
getComplementIOType, getFile, getIOType, getObjectIcon, getOptions, getProgressMessage, getSuccessMessage, getSupportedObjects, getTitle, getWriterComplement, load, load, loadObject, loadObject, loadObject, setFile, setOptions, setURL, toString
Methods 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:
loadPolygonSetBlocking
in classPolygonSet3DLoader
- Throws:
java.io.IOException
-
loadAsciiPolygons
-
setNode
protected void setNode(org.jogamp.vecmath.Point3f pt, int coord, float val) -
setFace
-