org.jagatoo.loaders.models.ase
Class AseReader
java.lang.Object
org.jagatoo.loaders.models.ase.AseReader
public class AseReader
- extends java.lang.Object
Extends LineNumberReader to read and parse a single line into pieces for easy
reference by the parsing code.
- Author:
- David Yazel
|
Constructor Summary |
AseReader(java.io.Reader in)
|
AseReader(java.io.Reader in,
boolean convertMeshCoordinates)
Construct new ASE reader that will read ASE data from specified reader to
specified ASE file with optional converion of coordinate system from MAX
to Xith3D |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AseReader
public AseReader(java.io.Reader in)
AseReader
public AseReader(java.io.Reader in,
boolean convertMeshCoordinates)
- Construct new ASE reader that will read ASE data from specified reader to
specified ASE file with optional converion of coordinate system from MAX
to Xith3D
- Parameters:
in - Reader to read ASE data fromconvertMeshCoordinates - true if ASE coordinates should be converted
to Xith3D format, false if they should be left unchanged
getLastLineNumber
public int getLastLineNumber()
readAseLine
public org.jagatoo.loaders.models.ase.AseFileLine readAseLine()
- Reads in a line and breaks it into peices. If the line starts with a
star, then get the keyword out and then read the params.