public final class PgU3dLoader extends PgAbstractLoader
GEOM_DATA_AUTHOR, GEOM_DATA_COLORS, GEOM_DATA_HEADER, GEOM_DATA_INFO, GEOM_DATA_NORMALS, GEOM_DATA_TEXTURE, GEOM_DATA_VECTORS| Constructor and Description |
|---|
PgU3dLoader() |
| Modifier and Type | Method and Description |
|---|---|
static void |
storeElementColorsAtVertices(boolean flag)
Enable storing of element colors at vertices.
|
static void |
storeElementColorsInShaders(boolean flag)
Enable storing of element colors in shaders.
|
boolean |
write(java.io.DataOutputStream outWriter,
PgJvxSrc[] geomArr)
Write an array of geometries to a file.
|
boolean |
write(java.io.Writer writer,
PgJvxSrc[] geomArr)
Write an array of geometries into an output stream writer.
|
getAnimations, getDisplayOption, getGeometries, getSpecializedGeometries, isAnimation, isEnabledOptimization, load, read, read, setAnimation, setDisplayOption, setGeometryOptionpublic boolean write(java.io.Writer writer,
PgJvxSrc[] geomArr)
throws java.io.IOException
Numbers with absolute value less than jv.vecmath.PuMath#EPS are
shown as zero. This avoids the annoying fact that double precision numbers fill
the whole text area hiding the exponent, which hides their small value.
write in interface PgLoaderIfwrite in class PgAbstractLoaderwriter - Write all data to this streamgeomArr - Array with geometries to savetrue on success.java.io.IOExceptionPgAbstractLoader.read(BufferedReader)public boolean write(java.io.DataOutputStream outWriter,
PgJvxSrc[] geomArr)
write in interface PgLoaderIfwrite in class PgAbstractLoaderoutWriter - Write all data to this streamgeomArr - Array with geometries to savetrue on success.PgAbstractLoader.read(BufferedReader),
PgAbstractLoader.read(DataInputStream),
PgAbstractLoader.write(Writer, PgJvxSrc [])public static void storeElementColorsAtVertices(boolean flag)
public static void storeElementColorsInShaders(boolean flag)
"