|
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.PgBdLoader
Reads a build file '*.bd' and fills information in PgMacroPatch. Class is later queried by an application for macro patches. An application is responsible to generate actual geometries, like triangulations, out of a macro patch.
Each macro patch may be bounded by simple straight lines or by curves with sophisticated boundary constraints to be used in calculus of variations. See description of the file format '*.bd' for more details.
| Field Summary | |
protected int |
m_endFrame
|
protected int |
m_numDoubleParms
|
protected int |
m_numIntegerParms
|
protected int |
m_numPatches
|
protected int |
m_numVertices
|
protected PgMacroPatch[] |
m_patch
m_patch is already the set of patches, here we should store also the other file information just to be complete. |
protected int |
m_startFrame
|
protected java.lang.String |
m_task
Information in the build file. |
protected PdVector[] |
m_vertex
|
protected PiVector[] |
m_vertexType
|
| Constructor Summary | |
PgBdLoader()
|
|
| Method Summary | |
int |
getNumPatches()
Get number of macro patches found in the build file. |
PgMacroPatch |
getPatch(int anInd)
Return the macro patch with given index. |
protected boolean |
parseBuild(java.io.BufferedReader bufReader)
Parse build file and fill information in current class. |
boolean |
read(java.io.BufferedReader inBuild)
Read build file and fill information in current class. |
boolean |
read(java.lang.String fileName)
Deprecated. use #read(BufferedReader) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String m_task
protected int m_startFrame
protected int m_endFrame
protected int m_numIntegerParms
protected int m_numDoubleParms
protected int m_numPatches
protected int m_numVertices
protected PdVector[] m_vertex
protected PiVector[] m_vertexType
protected PgMacroPatch[] m_patch
| Constructor Detail |
public PgBdLoader()
| Method Detail |
public int getNumPatches()
public PgMacroPatch getPatch(int anInd)
public boolean read(java.lang.String fileName)
public boolean read(java.io.BufferedReader inBuild)
protected boolean parseBuild(java.io.BufferedReader bufReader)
throws java.io.IOException
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||