maspack.geometry.io
Class OpenSimBinReader
java.lang.Object
maspack.geometry.io.MeshReaderBase
maspack.geometry.io.OpenSimBinReader
- All Implemented Interfaces:
- MeshReader
public class OpenSimBinReader
- extends MeshReaderBase
Reads a polygonal mesh from the OpenSim binary ASC format Big-endian
0x00 00 00 85, # vertices, # faces, # indices for faces, # max nodes/face
coordinates... number vertices for each face ... faces ...
- Author:
- antonio
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_ID
public static int FILE_ID
OpenSimBinReader
public OpenSimBinReader(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
OpenSimBinReader
public OpenSimBinReader(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
OpenSimBinReader
public OpenSimBinReader(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public PolygonalMesh readMesh(PolygonalMesh mesh)
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public MeshBase readMesh(MeshBase mesh)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static PolygonalMesh read(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static PolygonalMesh read(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException