artisynth.core.femmodels
Class TetGenReader

java.lang.Object
  extended by artisynth.core.femmodels.TetGenReader

public class TetGenReader
extends java.lang.Object


Field Summary
static java.lang.String femPath
           
static java.lang.String rbPath1
           
static java.lang.String rbPath2
           
static java.lang.String rbPath3
           
static java.lang.String workPath
           
 
Constructor Summary
TetGenReader()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void read(FemModel3d model, double density, java.lang.String nodeString, java.lang.String elemString, Vector3d scale)
           
static void read(FemModel3d model, double density, Vector3d scale, java.io.Reader nodeReader, java.io.Reader elemReader)
           
static FemModel3d read(java.lang.String name, double density, java.lang.String nodeString, java.lang.String elemString, Vector3d scale)
           
static PolygonalMesh readFaces(java.lang.String nodeString, java.lang.String faceString, Vector3d scale)
           
static PolygonalMesh readFaces(Vector3d scale, java.io.Reader nodeReader, java.io.Reader faceReader)
           
static void writePolyFileFromSurfaceMesh(java.lang.String meshName, java.lang.String inPath, java.lang.String outPath)
           
static void writeSurfaceMeshFromVolumeMesh(java.lang.String inPath, java.lang.String outPath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rbPath1

public static java.lang.String rbPath1

rbPath2

public static java.lang.String rbPath2

rbPath3

public static java.lang.String rbPath3

femPath

public static java.lang.String femPath

workPath

public static java.lang.String workPath
Constructor Detail

TetGenReader

public TetGenReader()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

writePolyFileFromSurfaceMesh

public static void writePolyFileFromSurfaceMesh(java.lang.String meshName,
                                                java.lang.String inPath,
                                                java.lang.String outPath)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

writeSurfaceMeshFromVolumeMesh

public static void writeSurfaceMeshFromVolumeMesh(java.lang.String inPath,
                                                  java.lang.String outPath)
                                           throws java.io.IOException
Throws:
java.io.IOException

read

public static FemModel3d read(java.lang.String name,
                              double density,
                              java.lang.String nodeString,
                              java.lang.String elemString,
                              Vector3d scale)
                       throws java.io.IOException
Throws:
java.io.IOException

read

public static void read(FemModel3d model,
                        double density,
                        java.lang.String nodeString,
                        java.lang.String elemString,
                        Vector3d scale)
                 throws java.io.IOException
Throws:
java.io.IOException

read

public static void read(FemModel3d model,
                        double density,
                        Vector3d scale,
                        java.io.Reader nodeReader,
                        java.io.Reader elemReader)
                 throws java.io.IOException
Throws:
java.io.IOException

readFaces

public static PolygonalMesh readFaces(java.lang.String nodeString,
                                      java.lang.String faceString,
                                      Vector3d scale)
                               throws java.io.IOException
Throws:
java.io.IOException

readFaces

public static PolygonalMesh readFaces(Vector3d scale,
                                      java.io.Reader nodeReader,
                                      java.io.Reader faceReader)
                               throws java.io.IOException
Throws:
java.io.IOException