maspack.geometry.io
Class VtkXmlReader
java.lang.Object
maspack.geometry.io.MeshReaderBase
maspack.geometry.io.VtkXmlReader
- All Implemented Interfaces:
- MeshReader
public class VtkXmlReader
- extends MeshReaderBase
Reads a polygonal mesh from the VTK vtp format
- Author:
- antonio
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VtkXmlReader
public VtkXmlReader(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
VtkXmlReader
public VtkXmlReader(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
VtkXmlReader
public VtkXmlReader(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public MeshBase readMesh(MeshBase mesh)
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public PolygonalMesh readMesh(PolygonalMesh 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