Class PlyReader
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.BallPivoting.PlyReader
-
public class PlyReader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_USER_DATA
-
Constructor Summary
Constructors Constructor Description PlyReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.io.File
openFiles(java.lang.String directory, java.lang.String filename)
private static java.lang.String
readLine(java.io.InputStream in)
Read a line of ASCII text from the input stream.void
readPlyAsciiMesh(TriMesh mesh, java.lang.String directory, java.lang.String filename)
-
-
-
Method Detail
-
readPlyAsciiMesh
public final void readPlyAsciiMesh(TriMesh mesh, java.lang.String directory, java.lang.String filename)
-
readLine
private static final java.lang.String readLine(java.io.InputStream in) throws java.io.IOException
Read a line of ASCII text from the input stream.- Parameters:
in
- InputStream- Returns:
- line of the ascii file as a String
- Throws:
java.io.IOException
- I/O exception
-
openFiles
private static final java.io.File openFiles(java.lang.String directory, java.lang.String filename)
-
-