public class OffWriter extends MeshWriterBase
MeshWriter.DataFormat, MeshWriter.FloatTypeDEFAULT_FORMAT| Constructor and Description |
|---|
OffWriter(java.io.File file) |
OffWriter(java.io.OutputStream os) |
OffWriter(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeMesh(MeshBase mesh) |
void |
writeMesh(PolygonalMesh mesh) |
static void |
writeMesh(java.lang.String fileName,
PolygonalMesh mesh) |
close, flush, getFormat, getWriteColors, getWriteNormals, setFormat, setFormat, setWriteColors, setWriteNormalspublic OffWriter(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic OffWriter(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic OffWriter(java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionpublic static void writeMesh(java.lang.String fileName,
PolygonalMesh mesh)
throws java.io.IOException
java.io.IOExceptionpublic void writeMesh(PolygonalMesh mesh) throws java.io.IOException
java.io.IOExceptionpublic void writeMesh(MeshBase mesh) throws java.io.IOException
writeMesh in interface MeshWriterwriteMesh in class MeshWriterBasejava.io.IOException