All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.CompressedGeometryHeader
java.lang.Object
|
+----java.media.j3d.CompressedGeometryHeader
- public class CompressedGeometryHeader
- extends Object
The CompressedGeometrHeader object is used in conjunction with
the CompressedGeometry object. The CompressedGeometrHeader object
contains information specific to the compressed geometry stored in
CompressedGeometry NodeComponent object. This information
is used to aid the decompression of the compressed geometry.
All instance data is declared public and no get or set methods are
provided.
- See Also:
- CompressedGeometry
-
bufferDataPresent
- Notifies that the given data type is present in the compressed
geometry buffer before any geometric data.
-
bufferType
- Describes the type of data in the compressed geometry buffer.
-
COLOR_ALPHA_IN_BUFFER
- bufferDataPresent: Alpha color information is initialized in the
compressed geometry buffer.
-
COLOR_IN_BUFFER
- bufferDataPresent: RGB color information is initialized in the
compressed geometry buffer.
-
LINE_BUFFER
- bufferType: compressed geometry is made up of line segments.
-
majorVersionNumber
- The major version number for the compressed geometry format that
was used to compress the geometry.
-
minorMinorVersionNumber
- The minor-minor version number for the compressed geometry format
that was used to compress the geometry.
-
minorVersionNumber
- The minor version number for the compressed geometry format that
was used to compress the geometry.
-
POINT_BUFFER
- bufferType: compressed geometry is made up of individual points.
-
scale
- The uniform scale value needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
-
size
- Size of the compressed geometry in bytes.
-
TRIANGLE_BUFFER
- bufferType: compressed geometry is made up of triangles.
-
xOffset
- The x offset needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
-
yOffset
- The y offset needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
-
zOffset
- The z offset needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
-
CompressedGeometryHeader()
- Creates a new CompressedGeometryHeader object used for the
creation of a CompressedGeometry NodeComponent object.
POINT_BUFFER
public static final int POINT_BUFFER
- bufferType: compressed geometry is made up of individual points.
LINE_BUFFER
public static final int LINE_BUFFER
- bufferType: compressed geometry is made up of line segments.
TRIANGLE_BUFFER
public static final int TRIANGLE_BUFFER
- bufferType: compressed geometry is made up of triangles.
COLOR_IN_BUFFER
public static final int COLOR_IN_BUFFER
- bufferDataPresent: RGB color information is initialized in the
compressed geometry buffer.
COLOR_ALPHA_IN_BUFFER
public static final int COLOR_ALPHA_IN_BUFFER
- bufferDataPresent: Alpha color information is initialized in the
compressed geometry buffer.
majorVersionNumber
public int majorVersionNumber
- The major version number for the compressed geometry format that
was used to compress the geometry.
minorVersionNumber
public int minorVersionNumber
- The minor version number for the compressed geometry format that
was used to compress the geometry.
minorMinorVersionNumber
public int minorMinorVersionNumber
- The minor-minor version number for the compressed geometry format
that was used to compress the geometry.
bufferType
public int bufferType
- Describes the type of data in the compressed geometry buffer.
Only one type may be present in any given compressed geometry
buffer.
bufferDataPresent
public int bufferDataPresent
- Notifies that the given data type is present in the compressed
geometry buffer before any geometric data. If this data is
not present (i.e. color) then this info will be inherited from the
Appearance node.
scale
public double scale
- The uniform scale value needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
xOffset
public double xOffset
- The x offset needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
yOffset
public double yOffset
- The y offset needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
zOffset
public double zOffset
- The z offset needed to be applied to every point in
the compressed geometry buffer to restore the geometry to its
original (uncompressed) postion.
size
public int size
- Size of the compressed geometry in bytes.
CompressedGeometryHeader
public CompressedGeometryHeader()
- Creates a new CompressedGeometryHeader object used for the
creation of a CompressedGeometry NodeComponent object.
All instance data is declared public and no get or set methods are
provided.
- See Also:
- CompressedGeometry
All Packages Class Hierarchy This Package Previous Next Index