|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.xmldata.Amibe2VTK
public class Amibe2VTK
Convert an Amibe mesh to a VTK file. Output file extension should be .vtp. The documentation of the file format may be found here: http://www.vtk.org/pdf/file-formats.pdf
Constructor Summary | |
---|---|
Amibe2VTK(java.io.File directory)
|
Method Summary | |
---|---|
boolean |
isDummyData()
|
static void |
main(java.lang.String[] args)
A main method for debugging |
void |
setDummyData(boolean dummyData)
Write data cell associated to triangles It's a scalar double value which is the ID of the triangle. |
void |
write(java.io.OutputStream out)
Write the VTK file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Amibe2VTK(java.io.File directory)
directory
- The directory which contain 3d filesMethod Detail |
---|
public static void main(java.lang.String[] args)
args
- public void write(java.io.OutputStream out) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
out
- The stream to write on
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public boolean isDummyData()
public void setDummyData(boolean dummyData)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |