26 #ifndef __TERRALIB_TERRALIB4_INTERNAL_BAND_H 
   27 #define __TERRALIB_TERRALIB4_INTERNAL_BAND_H 
   30 #include "../raster/Band.h" 
   48       void getValue(
unsigned int c, 
unsigned int r, 
double& value) 
const;
 
   50       void setValue(
unsigned int c, 
unsigned int r, 
const double value);
 
   52       void getIValue(
unsigned int c, 
unsigned int r, 
double& value) 
const;
 
   54       void setIValue(
unsigned int c, 
unsigned int r, 
const double value);
 
   56       void read(
int x, 
int y, 
void* buffer) 
const;
 
   58       void* 
read(
int x, 
int y);
 
   60       void write(
int x, 
int y, 
void* buffer);
 
   71 #endif  // __TERRALIB_TERRALIB4_INTERNAL_BAND_H 
void getValue(unsigned int c, unsigned int r, double &value) const 
Returns the cell attribute value. 
 
A raster band description. 
 
Band(Raster *parent, TeRaster *iraster, te::rst::BandProperty *bp, std::size_t idx)
 
te::rst::Raster * getRaster() const 
Returns the associated raster. 
 
void write(int x, int y, void *buffer)
It writes a data block from the specified buffer. 
 
An abstract class for raster data strucutures. 
 
A raster band description. 
 
void setIValue(unsigned int c, unsigned int r, const double value)
Sets the imaginary attribute value in a complex band of a cell. 
 
void read(int x, int y, void *buffer) const 
It reads a data block to the specified buffer. 
 
void getIValue(unsigned int c, unsigned int r, double &value) const 
Returns the imaginary attribute value in a complex band of a cell. 
 
~Band()
Virtual destructor. 
 
void setValue(unsigned int c, unsigned int r, const double value)
Sets the cell attribute value.