public class XyzbWriter extends MeshWriterBase
MeshWriter.DataFormat, MeshWriter.FloatType
DEFAULT_FORMAT
Constructor and Description |
---|
XyzbWriter(java.io.File file) |
XyzbWriter(java.io.OutputStream os) |
XyzbWriter(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
writeMesh(BinaryOutputStream bout,
PointMesh mesh)
Writes a PointMesh to a PrintWriter, using the binary xyzb
format.
|
static void |
writeMesh(java.io.File file,
MeshBase mesh) |
void |
writeMesh(MeshBase mesh) |
static void |
writeMesh(java.lang.String fileName,
MeshBase mesh) |
close, flush, getFormat, getWriteColors, getWriteNormals, setFormat, setFormat, setWriteColors, setWriteNormals
public XyzbWriter(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public XyzbWriter(java.io.File file) throws java.io.IOException
java.io.IOException
public XyzbWriter(java.lang.String fileName) 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 void writeMesh(BinaryOutputStream bout, PointMesh mesh) throws java.io.IOException
bout
- Binary output stream to write this mesh tomesh
- PointMesh to be writtenjava.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