public class OffWriter extends MeshWriterBase
MeshWriter.DataFormat, MeshWriter.FloatType
DEFAULT_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, setWriteNormals
public OffWriter(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public OffWriter(java.io.File file) throws java.io.IOException
java.io.IOException
public OffWriter(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static void writeMesh(java.lang.String fileName, PolygonalMesh mesh) throws java.io.IOException
java.io.IOException
public void writeMesh(PolygonalMesh 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