org.deegree_impl.model.gc
Class GC_GridPacking_Impl

java.lang.Object
  extended byorg.deegree_impl.model.gc.GC_GridPacking_Impl
All Implemented Interfaces:
GC_GridPacking, java.io.Serializable

class GC_GridPacking_Impl
extends java.lang.Object
implements GC_GridPacking, java.io.Serializable

Describes the packing of data values within grid coverages. It includes the packing scheme of data values with less then 8 bits per value within a byte, byte packing (Little Endian / Big Endian) for values with more than 8 bits and the packing of the values within the dimensions.

Since:
1.00
Version:
1.00

Constructor Summary
(package private) GC_GridPacking_Impl()
           
 
Method Summary
 int getBandPacking()
          Gives the ordinate index for the band.
 GC_ByteInValuePacking getByteInValuePacking()
          Order of bytes packed in values for sample dimensions with greater than 8 bits.
 GC_ValueInBytePacking getValueInBytePacking()
          Order of values packed in a byte for CV_1BIT, CV_2BIT and CV_4BIT data types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GC_GridPacking_Impl

GC_GridPacking_Impl()
Method Detail

getBandPacking

public int getBandPacking()
Gives the ordinate index for the band. This index indicates how to form a band-specific coordinate from a grid coordinate and a sample dimension number. This indicates the order in which the grid values are stored in streamed data. This packing order is used when grid values are retrieved using the getPackedDataBlock or set using setPackedDataBlock operations on GC_GridCoverage. bandPacking of Where For 2 dimensional grids, band packing of 0 is referred to as band sequential, 1 line interleaved and 2 pixel interleaved.

Specified by:
getBandPacking in interface GC_GridPacking

getByteInValuePacking

public GC_ByteInValuePacking getByteInValuePacking()
Order of bytes packed in values for sample dimensions with greater than 8 bits.

Specified by:
getByteInValuePacking in interface GC_GridPacking

getValueInBytePacking

public GC_ValueInBytePacking getValueInBytePacking()
Order of values packed in a byte for CV_1BIT, CV_2BIT and CV_4BIT data types.

Specified by:
getValueInBytePacking in interface GC_GridPacking