public class PlyWriter extends MeshWriterBase
Modifier and Type | Class and Description |
---|---|
static class |
PlyWriter.DataType |
MeshWriter.DataFormat, MeshWriter.FloatType
DEFAULT_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, getWriteColors, getWriteNormals, setFormat, setFormat, setWriteColors, setWriteNormals
public PlyWriter(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public PlyWriter(java.io.File file) throws java.io.IOException
java.io.IOException
public PlyWriter(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public 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.IOException
public void writeMesh(PointMesh mesh) throws java.io.IOException
java.io.IOException
public void writeMesh(MeshBase mesh) throws java.io.IOException
writeMesh
in interface MeshWriter
writeMesh
in class MeshWriterBase
java.io.IOException
public static void writeMesh(java.lang.String fileName, MeshBase mesh) throws java.io.IOException
java.io.IOException
public static void writeMesh(java.io.File file, MeshBase mesh) throws java.io.IOException
java.io.IOException