maspack.geometry.io
Class PlyReader
java.lang.Object
maspack.geometry.io.MeshReaderBase
maspack.geometry.io.PlyReader
- All Implemented Interfaces:
- MeshReader
public class PlyReader
- extends MeshReaderBase
Reads a PolygonalMesh from an ascii PLY format
- Author:
- John Lloyd, Jan 2014
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlyReader
public PlyReader(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
PlyReader
public PlyReader(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
PlyReader
public PlyReader(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
getDataFormat
public MeshWriter.DataFormat getDataFormat()
getFloatType
public MeshWriter.FloatType getFloatType()
readMesh
public MeshBase readMesh(MeshBase mesh)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static MeshBase read(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static MeshBase read(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException