public abstract class MeshWriterBase extends java.lang.Object implements MeshWriter
MeshWriter.DataFormat, MeshWriter.FloatType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_FORMAT |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
NumberFormat |
getFormat() |
int |
getWriteColors() |
int |
getWriteNormals() |
void |
setFormat(NumberFormat fmt) |
void |
setFormat(java.lang.String fmtStr) |
void |
setWriteColors(int enable) |
void |
setWriteNormals(int enable) |
abstract void |
writeMesh(MeshBase mesh) |
public static final java.lang.String DEFAULT_FORMAT
public abstract void writeMesh(MeshBase mesh) throws java.io.IOException
writeMesh
in interface MeshWriter
java.io.IOException
public void setFormat(java.lang.String fmtStr)
setFormat
in interface MeshWriter
public void setFormat(NumberFormat fmt)
setFormat
in interface MeshWriter
public NumberFormat getFormat()
getFormat
in interface MeshWriter
public void setWriteNormals(int enable)
setWriteNormals
in interface MeshWriter
public int getWriteNormals()
getWriteNormals
in interface MeshWriter
public void setWriteColors(int enable)
public int getWriteColors()
public void flush()
public void close()
close
in interface MeshWriter