maspack.geometry.io
Class PlyWriter
java.lang.Object
maspack.geometry.io.MeshWriterBase
maspack.geometry.io.PlyWriter
- All Implemented Interfaces:
- MeshWriter
public class PlyWriter
- extends MeshWriterBase
Writes to ascii PLY format
- Author:
- Antonio
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlyWriter
public PlyWriter(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
PlyWriter
public PlyWriter(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
PlyWriter
public PlyWriter(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
getDataFormat
public MeshWriter.DataFormat getDataFormat()
setDataFormat
public void setDataFormat(MeshWriter.DataFormat fmt)
getFloatType
public PlyWriter.DataType getFloatType()
setFloatType
public void setFloatType(PlyWriter.DataType type)
writeMesh
public void writeMesh(PolygonalMesh mesh)
throws java.io.IOException
- Throws:
java.io.IOException
writeMesh
public void writeMesh(PointMesh mesh)
throws java.io.IOException
- Throws:
java.io.IOException
writeMesh
public void writeMesh(MeshBase mesh)
throws java.io.IOException
- Specified by:
writeMesh
in interface MeshWriter
- Specified by:
writeMesh
in class MeshWriterBase
- Throws:
java.io.IOException
writeMesh
public static void writeMesh(java.lang.String fileName,
MeshBase mesh)
throws java.io.IOException
- Throws:
java.io.IOException
writeMesh
public static void writeMesh(java.io.File file,
MeshBase mesh)
throws java.io.IOException
- Throws:
java.io.IOException