|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jv.loader.PgByuLoader
Loader for geometry files in the Brigham Young University's MOVIE.BYU file format.
| Constructor Summary | |
PgByuLoader()
|
|
| Method Summary | |
PvDisplayOption |
getDisplayOption()
Get display options which some parsers and geometry file formats supply. |
boolean |
isAnimation()
Determine if currently loaded data is an animation. |
PgJvxSrc[] |
read(java.io.BufferedReader in)
Read geometry file in the Brigham Young University's MOVIE.BYU file format. |
static PgJvxSrc[] |
read(java.lang.String fileName)
Read geometry file in the Brigham Young University's MOVIE.BYU file format. |
void |
setAnimation(boolean flag)
Set flag whether current geometry data is an animation. |
void |
setDisplayOption(PvDisplayOption option)
Set the display options to be saved within the geometry file. |
boolean |
write(java.io.Writer writer,
PgJvxSrc[] geomArr)
Write an array of geometries into an output stream writer. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PgByuLoader()
| Method Detail |
public PvDisplayOption getDisplayOption()
getDisplayOption in interface PgLoaderIfpublic void setDisplayOption(PvDisplayOption option)
setDisplayOption in interface PgLoaderIfpublic boolean isAnimation()
isAnimation in interface PgLoaderIfpublic void setAnimation(boolean flag)
setAnimation in interface PgLoaderIfpublic static PgJvxSrc[] read(java.lang.String fileName)
public PgJvxSrc[] read(java.io.BufferedReader in)
The returned array of geometry may contain keyframes of
an animation. This is checked with the method isAnimation().
read in interface PgLoaderIfin - BufferedReader to read textual data from.#write(Writer)
public boolean write(java.io.Writer writer,
PgJvxSrc[] geomArr)
throws java.io.IOException
write in interface PgLoaderIfwriter - Write all data to this streamgeomArr - Array with geometries to savetrue on success.#read(PgGeometry [], BufferedReader)
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||