org.jcae.mesh.xmldata
Class MeshExporter.STL

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

public static class MeshExporter.STL
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.STL(java.io.File directory, int[] groupIds)
           
MeshExporter.STL(java.lang.String file)
           
 
Method Summary
protected  void writeNodes(java.io.PrintStream out, int[] nodesID, TIntIntHashMap amibeToUNV)
           
 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, writeFinish, writeGroups, writeInit, writeNormals, writeSingleGroupUNV, writeSingleNodeUNV, writeSingleTriangleUNV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeshExporter.STL

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

MeshExporter.STL

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

writeTriangles

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

writeNodes

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