org.jcae.mesh.xmldata
Class MeshExporter.MESH

java.lang.Object
  extended by org.jcae.mesh.xmldata.MeshExporter
      extended by org.jcae.mesh.xmldata.MeshExporter.MESH
Enclosing class:
MeshExporter

public static class MeshExporter.MESH
extends MeshExporter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jcae.mesh.xmldata.MeshExporter
MeshExporter.FormatD25_16, MeshExporter.FormatI10, MeshExporter.MESH, MeshExporter.POLY, MeshExporter.STL, MeshExporter.UNV, MeshExporter.VTK
 
Field Summary
 
Fields inherited from class org.jcae.mesh.xmldata.MeshExporter
groups, names
 
Constructor Summary
MeshExporter.MESH(java.io.File directory, int[] groupIds)
           
MeshExporter.MESH(java.lang.String file)
           
 
Method Summary
 void writeFinish(java.io.PrintStream out)
           
 void writeInit(java.io.PrintStream out)
           
 void writeNodes(java.io.PrintStream out, int[] nodesID, TIntIntHashMap amibeToUNV)
           
 void writeNormals(java.io.PrintStream out, int[] triangles, TIntIntHashMap amibeNodeToUNVNode, TIntIntHashMap amibeTriaToUNVTria)
           
 void writeTriangles(java.io.PrintStream out, int[] triangles, TIntIntHashMap amibeNodeToUNVNode, TIntIntHashMap amibeTriaToUNVTria)
           
 
Methods inherited from class org.jcae.mesh.xmldata.MeshExporter
clean, getNodeFile, getNormalFile, getTriaFile, main, write, write, writeGroups, writeSingleGroupUNV, writeSingleNodeUNV, writeSingleTriangleUNV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeshExporter.MESH

public MeshExporter.MESH(java.io.File directory,
                         int[] groupIds)

MeshExporter.MESH

public MeshExporter.MESH(java.lang.String file)
Method Detail

writeInit

public void writeInit(java.io.PrintStream out)
               throws java.io.IOException
Overrides:
writeInit in class MeshExporter
Throws:
java.io.IOException

writeFinish

public void writeFinish(java.io.PrintStream out)
                 throws java.io.IOException
Overrides:
writeFinish in class MeshExporter
Throws:
java.io.IOException

writeNodes

public void writeNodes(java.io.PrintStream out,
                       int[] nodesID,
                       TIntIntHashMap amibeToUNV)
                throws java.io.IOException
Specified by:
writeNodes in class MeshExporter
Throws:
java.io.IOException

writeTriangles

public void writeTriangles(java.io.PrintStream out,
                           int[] triangles,
                           TIntIntHashMap amibeNodeToUNVNode,
                           TIntIntHashMap amibeTriaToUNVTria)
Specified by:
writeTriangles in class MeshExporter
Parameters:
out -
amibeNodeToUNVNode -

writeNormals

public void writeNormals(java.io.PrintStream out,
                         int[] triangles,
                         TIntIntHashMap amibeNodeToUNVNode,
                         TIntIntHashMap amibeTriaToUNVTria)
                  throws java.io.IOException
Overrides:
writeNormals in class MeshExporter
Throws:
java.io.IOException