26 #ifndef __TERRALIB_GDAL_INTERNAL_BAND_H 
   27 #define __TERRALIB_GDAL_INTERNAL_BAND_H 
   30 #include "../raster/Band.h" 
   31 #include "../raster/BandProperty.h" 
   32 #include "../raster/BlockUtils.h" 
   33 #include "../raster/Raster.h" 
   78       void getValue(
unsigned int c, 
unsigned int r, 
double& value) 
const;
 
   80       void setValue(
unsigned int c, 
unsigned int r, 
const double value);
 
   82       void getIValue(
unsigned int c, 
unsigned int r, 
double& value) 
const;
 
   84       void setIValue(
unsigned int c, 
unsigned int r, 
const double value);
 
   90       void read(
int x, 
int y, 
void* buffer) 
const;
 
   92       void* read(
int , 
int );
 
   94       void write(
int x, 
int y, 
void* buffer);
 
   96       void getValueFromBlock(
void* block, 
unsigned int pos, std::complex<double>& value) 
const;
 
   98       void getValueFromBlock(
void* block, 
unsigned int pos, 
double& value) 
const;
 
  110       int placeBuffer(
unsigned c, 
unsigned r) 
const;
 
  139 #endif  // __TERRALIB_GDAL_INTERNAL_BAND_H 
Configuration flags for the GDAL Driver of TerraLib. 
 
te::rst::GetBufferValueFPtr m_getBuff
A pointer to a function that helps to extract a double or complex value from a specific buffer data t...
 
This file contains include headers for the TerraLib GDAL driver. 
 
te::rst::SetBufferValueFPtr m_setBuff
A pointer to a function that helps to insert a double or complex value into a specific buffer data ty...
 
int m_currR
Block row position. 
 
void(* GetBufferValueFPtr)(int index, void *buffer, double *value)
The type of function used to extract data from a buffer. 
 
This class represents Raster data. 
 
void setValue(unsigned int c, unsigned int r, const std::complex< double > &value)
Sets the imaginary attribute value in a complex band of a cell. 
 
void * m_buffer
An internal buffer. 
 
GDALDataType m_gdaltype
The GDAL Data type. 
 
GDALRasterBand * m_rasterBand
GDAL Raster band. 
 
te::rst::Raster * m_raster
The type of function used to insert/extract data from buffers. 
 
virtual void getValue(unsigned int c, unsigned int r, double &value) const =0
Returns the cell attribute value. 
 
int m_currX
Block x position. 
 
void(* SetBufferValueFPtr)(int index, void *buffer, const double *value)
The type of function used to extract data from a buffer. 
 
te::rst::SetBufferValueFPtr m_setBuffI
A pointer to a function that helps to insert the imaginary part value into a specific buffer data typ...
 
bool m_update_buffer
Flag to update buffer. 
 
A raster band description. 
 
int m_x
Actual x buffer position. 
 
virtual void setValue(unsigned int c, unsigned int r, const double value)=0
Sets the cell attribute value. 
 
This class represents raster band description. 
 
te::rst::GetBufferValueFPtr m_getBuffI
A pointer to a function that helps to extract the imaginary part value from a specific buffer data ty...
 
#define TEGDALEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
void getValue(unsigned int c, unsigned int r, std::complex< double > &value) const 
Returns the imaginary attribute value in a complex band of a cell. 
 
int m_currC
Block column position. 
 
An abstract class for raster data strucutures. 
 
int m_currY
Block y position. 
 
int m_y
Actual y buffer position.