|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jv.loader.PgFeLoader
Loader for geometry files given in Ken Brakke's Surface Evolver FE file format. This reader supports a subset of the commands.
| Field Summary | |
protected boolean |
m_bLinear
Linear model. |
protected int |
m_dimOfElements
|
protected int |
m_dimOfVertices
|
protected int |
m_meshRepresentation
|
protected int |
m_meshType
|
protected int |
m_numEdges
|
protected int |
m_numElements
|
protected int |
m_numTetras
|
protected int |
m_numVertices
|
protected double |
m_scale
Scale factor of geometry. |
protected double |
m_totalTime
Total time of computation of geometry. |
protected java.util.Vector |
m_vEdge
|
protected java.util.Vector |
m_vElement
|
protected PdMatrix |
m_viewMat
Viewing matrix. |
protected java.util.Vector |
m_vTetra
|
protected java.util.Vector |
m_vVertex
|
| Constructor Summary | |
PgFeLoader()
|
|
| Method Summary | |
protected boolean |
parse(java.io.BufferedReader bufReader,
PgJvxSrc geom)
Parse a Surface Evolver's .fe file and fill instance variables of this class.
|
PgJvxSrc |
read(java.io.BufferedReader in)
Read geometry file in Ken Brakke's Surface Evolver FE file format. |
PgJvxSrc |
read(java.lang.String fileName)
Read geometry file in Ken Brakke's Surface Evolver FE file format. |
static java.lang.String |
write(PgJvxSrc geom)
Write a geometry into a string in FE file format. |
protected static java.lang.String |
writeElements(int num,
PiVector[] element)
Write list of elements and element normals into string. |
protected static java.lang.String |
writeVertices(int num,
PdVector[] vertex)
Write list of vertices into string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int m_meshType
protected int m_meshRepresentation
protected int m_dimOfVertices
protected int m_numVertices
protected java.util.Vector m_vVertex
protected int m_numEdges
protected java.util.Vector m_vEdge
protected int m_dimOfElements
protected int m_numElements
protected java.util.Vector m_vElement
protected int m_numTetras
protected java.util.Vector m_vTetra
protected boolean m_bLinear
protected double m_scale
protected double m_totalTime
protected PdMatrix m_viewMat
| Constructor Detail |
public PgFeLoader()
| Method Detail |
public PgJvxSrc read(java.lang.String fileName)
public PgJvxSrc read(java.io.BufferedReader in)
protected boolean parse(java.io.BufferedReader bufReader,
PgJvxSrc geom)
.fe file and fill instance variables of this class.
This is a helper routine of read.PgFeLoader#read(PgGeometry, String)public static java.lang.String write(PgJvxSrc geom)
protected static java.lang.String writeVertices(int num,
PdVector[] vertex)
EPS are
shown as zero. This avoids the anoying fact that double precision numbers fill
the whole text area hiding the exponent, which hides their small value.
protected static java.lang.String writeElements(int num,
PiVector[] element)
EPS are
shown as zero. This avoids the anoying fact that double precision numbers fill
the whole text area hiding the exponent, which hides their small value.
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||