public class PlyWriter extends MeshWriterBase
| Modifier and Type | Class and Description |
|---|---|
static class |
PlyWriter.DataType |
MeshWriter.DataFormat, MeshWriter.FloatTypeDEFAULT_FORMAT| Constructor and Description |
|---|
PlyWriter(java.io.File file) |
PlyWriter(java.io.OutputStream os) |
PlyWriter(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
MeshWriter.DataFormat |
getDataFormat() |
PlyWriter.DataType |
getFloatType() |
void |
setDataFormat(MeshWriter.DataFormat fmt) |
void |
setFloatType(PlyWriter.DataType type) |
static void |
writeMesh(java.io.File file,
MeshBase mesh) |
void |
writeMesh(MeshBase mesh) |
void |
writeMesh(PointMesh mesh) |
void |
writeMesh(PolygonalMesh mesh) |
static void |
writeMesh(java.lang.String fileName,
MeshBase mesh) |
close, flush, getFormat, getWriteNormals, setFormat, setFormat, setWriteNormalspublic PlyWriter(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic PlyWriter(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic PlyWriter(java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionpublic MeshWriter.DataFormat getDataFormat()
public void setDataFormat(MeshWriter.DataFormat fmt)
public PlyWriter.DataType getFloatType()
public void setFloatType(PlyWriter.DataType type)
public void writeMesh(PolygonalMesh mesh) throws java.io.IOException
java.io.IOExceptionpublic void writeMesh(PointMesh mesh) throws java.io.IOException
java.io.IOExceptionpublic void writeMesh(MeshBase mesh) throws java.io.IOException
writeMesh in interface MeshWriterwriteMesh in class MeshWriterBasejava.io.IOExceptionpublic static void writeMesh(java.lang.String fileName,
MeshBase mesh)
throws java.io.IOException
java.io.IOExceptionpublic static void writeMesh(java.io.File file,
MeshBase mesh)
throws java.io.IOException
java.io.IOException