Package loci.formats.tools
Class AmiraParameters
java.lang.Object
loci.formats.tools.AmiraParameters
AmiraParameters handles parsing and writing of AmiraMesh headers.
- Author:
- Gregory Jefferis jefferis at gmail.com, Johannes Schindelin johannes.schindelin at gmx.de
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAmiraParameters(String path) AmiraParameters(loci.common.RandomAccessInputStream inputStream) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringentryToString(Object object, String indent) protected voidgetMap()static voidprotected charreadByte()protected Double[]readDoubleArray(int count) protected voidprotected voidreadFile(loci.common.RandomAccessInputStream inputStream) protected Integer[]protected Integer[]readIntArray(int count) protected StringreadKey()protected MapreadMap()protected Numberprotected Number[]protected Stringprotected voidprotected voidprotected voidprotected voidsyntaxError(String message) toString()static String
-
Field Details
-
width
public int width -
height
public int height -
depth
public int depth -
firstDataStream
public int firstDataStream -
x0
public double x0 -
y0
public double y0 -
z0
public double z0 -
x1
public double x1 -
y1
public double y1 -
z1
public double z1 -
littleEndian
public boolean littleEndian -
ascii
public boolean ascii -
nStreams
public int nStreams -
streamNames
-
streamTypes
-
in
protected transient loci.common.RandomAccessInputStream in -
map
-
streams
-
column
protected int column -
row
protected int row -
c
protected char c -
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
AmiraParameters
- Throws:
FormatException
-
AmiraParameters
public AmiraParameters(loci.common.RandomAccessInputStream inputStream) throws FormatException, IOException - Throws:
FormatExceptionIOException
-
-
Method Details
-
readFile
- Throws:
FormatException
-
readFile
protected void readFile(loci.common.RandomAccessInputStream inputStream) throws FormatException, IOException - Throws:
FormatExceptionIOException
-
extractCoreMetaData
- Throws:
FormatException
-
syntaxError
- Throws:
FormatException
-
readTopLevel
- Throws:
FormatExceptionIOException
-
readByte
- Throws:
IOException
-
skipComment
- Throws:
IOException
-
skipWhiteSpace
- Throws:
IOException
-
readKey
- Throws:
IOException
-
readNumber
- Throws:
FormatExceptionIOException
-
readIntArray
- Throws:
FormatExceptionIOException
-
readNumberArray
- Throws:
FormatExceptionIOException
-
readIntArray
- Throws:
FormatExceptionIOException
-
readDoubleArray
- Throws:
FormatExceptionIOException
-
readQuotedString
- Throws:
FormatExceptionIOException
-
readMap
- Throws:
FormatExceptionIOException
-
getMap
-
getStreams
-
toString
-
toString
- Throws:
FormatException
-
entryToString
- Throws:
FormatException
-
main
-