public class StlWriter extends MeshWriterBase
MeshWriter.DataFormat, MeshWriter.FloatType
DEFAULT_FORMAT
Constructor and Description |
---|
StlWriter(java.io.File file) |
StlWriter(java.io.OutputStream os) |
StlWriter(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
boolean |
isBinary() |
void |
setBinary(boolean enable) |
void |
writeBinary(PolygonalMesh mesh) |
void |
writeMesh(MeshBase mesh) |
void |
writeMesh(PolygonalMesh mesh) |
close, flush, getFormat, getWriteColors, getWriteNormals, setFormat, setFormat, setWriteColors, setWriteNormals
public StlWriter(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public StlWriter(java.io.File file) throws java.io.IOException
java.io.IOException
public StlWriter(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public boolean isBinary()
public void setBinary(boolean enable)
public void writeMesh(PolygonalMesh mesh) throws java.io.IOException
java.io.IOException
public void writeBinary(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