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;
60 void write(
int x,
int y,
void* buffer);
A raster band description.
A raster band description.
An abstract class for raster data strucutures.
void setIValue(unsigned int c, unsigned int r, const double value)
Sets the imaginary attribute value in a complex band of a cell.
void setValue(unsigned int c, unsigned int r, const double value)
Sets the cell attribute value.
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.
Band(Raster *parent, TeRaster *iraster, te::rst::BandProperty *bp, std::size_t idx)
void getIValue(unsigned int c, unsigned int r, double &value) const
Returns the imaginary attribute value in a complex band of a cell.
void * read(int x, int y)
It reads and returns a data block.
void read(int x, int y, void *buffer) const
It reads a data block to the specified buffer.
~Band()
Virtual destructor.
void getValue(unsigned int c, unsigned int r, double &value) const
Returns the cell attribute value.