public class GenericMeshReader extends java.lang.Object implements MeshReader
Constructor and Description |
---|
GenericMeshReader(java.io.File file) |
GenericMeshReader(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static MeshReader |
createReader(java.io.File file) |
static MeshReader |
createReader(java.lang.String fileName) |
MeshWriter.DataFormat |
getDataFormat() |
MeshWriter.FloatType |
getFloatType() |
int |
getPrecision() |
boolean |
getZeroIndexed() |
MeshBase |
readMesh() |
static MeshBase |
readMesh(java.io.File file) |
static MeshBase |
readMesh(java.io.File file,
MeshBase mesh) |
MeshBase |
readMesh(MeshBase mesh) |
static MeshBase |
readMesh(java.lang.String fileName) |
void |
setZeroIndexed(boolean enable) |
public GenericMeshReader(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public GenericMeshReader(java.io.File file) throws java.io.IOException
java.io.IOException
public static MeshReader createReader(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static MeshReader createReader(java.io.File file) throws java.io.IOException
java.io.IOException
public MeshWriter.DataFormat getDataFormat()
public MeshWriter.FloatType getFloatType()
public int getPrecision()
public MeshBase readMesh() throws java.io.IOException
java.io.IOException
public MeshBase readMesh(MeshBase mesh) throws java.io.IOException
readMesh
in interface MeshReader
java.io.IOException
public void close()
close
in interface MeshReader
public boolean getZeroIndexed()
public void setZeroIndexed(boolean enable)
public static MeshBase readMesh(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static MeshBase readMesh(java.io.File file) throws java.io.IOException
java.io.IOException