org.jcae.mesh.xmldata
Class MeshExporter.UNV

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

public static class MeshExporter.UNV
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
static int UNIT_METER
           
static int UNIT_MM
           
 
Fields inherited from class org.jcae.mesh.xmldata.MeshExporter
groups, names
 
Constructor Summary
MeshExporter.UNV(java.io.File directory, int[] groupIds)
           
MeshExporter.UNV(java.lang.String file)
           
 
Method Summary
 void setUnit(int unit)
           
 void writeGroups(java.io.PrintStream out, TIntIntHashMap amibeTriaToUNVTria)
           
 void writeInit(java.io.PrintStream arg0)
           
 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, writeNormals, writeSingleGroupUNV, writeSingleNodeUNV, writeSingleTriangleUNV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNIT_METER

public static final int UNIT_METER
See Also:
Constant Field Values

UNIT_MM

public static final int UNIT_MM
See Also:
Constant Field Values
Constructor Detail

MeshExporter.UNV

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

MeshExporter.UNV

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

setUnit

public void setUnit(int unit)

writeInit

public void writeInit(java.io.PrintStream arg0)
               throws java.io.IOException
Overrides:
writeInit 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 -

writeGroups

public void writeGroups(java.io.PrintStream out,
                        TIntIntHashMap amibeTriaToUNVTria)
Overrides:
writeGroups in class MeshExporter
Parameters:
out -
amibeTriaToUNVTria -