|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.vrml.export.compressors.GeometryHeader
Header for compressed geometry.
| Constructor Summary | |
GeometryHeader()
|
|
GeometryHeader(float scale,
float[] bounds,
boolean hasCoordinates,
boolean hasNormals,
boolean hasColors,
boolean hasTexCoords)
|
|
| Method Summary | |
void |
decode(int[] buffer,
int start)
Dencode this header from a buffer. |
void |
encode(int[] buffer,
int start)
Encode this header into a buffer. |
float[] |
getBounds()
|
float |
getScale()
|
static int |
getSize()
Get the size of the header in ints. |
boolean |
hasNormals()
Does this model contain normals. |
java.lang.String |
toString()
Get a string representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GeometryHeader()
public GeometryHeader(float scale,
float[] bounds,
boolean hasCoordinates,
boolean hasNormals,
boolean hasColors,
boolean hasTexCoords)
| Method Detail |
public static int getSize()
public void encode(int[] buffer,
int start)
buffer - The buffer to encode tostart - The starting index to encode to
public void decode(int[] buffer,
int start)
buffer - The buffer to decode fromstart - The starting index to decode frompublic boolean hasNormals()
public float[] getBounds()
public float getScale()
public java.lang.String toString()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||