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

Variable Index

 o bufferDataPresent
Notifies that the given data type is present in the compressed geometry buffer before any geometric data.
 o bufferType
Describes the type of data in the compressed geometry buffer.
 o COLOR_ALPHA_IN_BUFFER
bufferDataPresent: Alpha color information is initialized in the compressed geometry buffer.
 o COLOR_IN_BUFFER
bufferDataPresent: RGB color information is initialized in the compressed geometry buffer.
 o LINE_BUFFER
bufferType: compressed geometry is made up of line segments.
 o majorVersionNumber
The major version number for the compressed geometry format that was used to compress the geometry.
 o minorMinorVersionNumber
The minor-minor version number for the compressed geometry format that was used to compress the geometry.
 o minorVersionNumber
The minor version number for the compressed geometry format that was used to compress the geometry.
 o POINT_BUFFER
bufferType: compressed geometry is made up of individual points.
 o 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.
 o size
Size of the compressed geometry in bytes.
 o TRIANGLE_BUFFER
bufferType: compressed geometry is made up of triangles.
 o 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.
 o 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.
 o 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.

Constructor Index

 o CompressedGeometryHeader()
Creates a new CompressedGeometryHeader object used for the creation of a CompressedGeometry NodeComponent object.

Variables

 o POINT_BUFFER
 public static final int POINT_BUFFER
bufferType: compressed geometry is made up of individual points.

 o LINE_BUFFER
 public static final int LINE_BUFFER
bufferType: compressed geometry is made up of line segments.

 o TRIANGLE_BUFFER
 public static final int TRIANGLE_BUFFER
bufferType: compressed geometry is made up of triangles.

 o COLOR_IN_BUFFER
 public static final int COLOR_IN_BUFFER
bufferDataPresent: RGB color information is initialized in the compressed geometry buffer.

 o COLOR_ALPHA_IN_BUFFER
 public static final int COLOR_ALPHA_IN_BUFFER
bufferDataPresent: Alpha color information is initialized in the compressed geometry buffer.

 o majorVersionNumber
 public int majorVersionNumber
The major version number for the compressed geometry format that was used to compress the geometry.

 o minorVersionNumber
 public int minorVersionNumber
The minor version number for the compressed geometry format that was used to compress the geometry.

 o minorMinorVersionNumber
 public int minorMinorVersionNumber
The minor-minor version number for the compressed geometry format that was used to compress the geometry.

 o 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.

 o 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.

 o 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.

 o 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.

 o 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.

 o 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.

 o size
 public int size
Size of the compressed geometry in bytes.

Constructors

 o 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