26 #ifndef __TERRALIB_MEMORY_INTERNAL_TILEDBAND_H
27 #define __TERRALIB_MEMORY_INTERNAL_TILEDBAND_H
30 #include "../raster/Band.h"
31 #include "../raster/BlockUtils.h"
60 void getValue(
unsigned int c,
unsigned int r,
double& value)
const;
62 void setValue(
unsigned int c,
unsigned int r,
const double value);
64 void getIValue(
unsigned int c,
unsigned int r,
double& value)
const;
66 void setIValue(
unsigned int c,
unsigned int r,
const double value);
68 void read(
int x,
int y,
void* buffer)
const;
72 void write(
int x,
int y,
void* buffer);
A raster class for memory.
int m_blksize
The data block size.
void write(int x, int y, void *buffer)
It writes a data block from the specified buffer.
TiledBand & operator=(const TiledBand &rhs)
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...
void getIValue(unsigned int c, unsigned int r, double &value) const
Returns the imaginary attribute value in a complex band of a cell.
te::rst::SetBufferValueFPtr m_setBuffI
A pointer to a function that helps to insert the imaginary part value into a specific buffer data typ...
TiledBand(const TiledBand &rhs)
void * read(int x, int y)
It reads and returns a data block.
void setRaster(Raster *r)
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...
void getValue(unsigned int c, unsigned int r, double &value) const
Returns the cell attribute value.
TiledBand(Raster *r, te::rst::BandProperty *p, std::size_t idx)
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 setValue(unsigned int c, unsigned int r, const double value)
Sets the cell attribute value.
te::rst::Raster * getRaster() const
Returns the associated raster.
unsigned char *** m_buff
A internal block buffer.
te::rst::GetBufferValueFPtr m_getBuffI
A pointer to a function that helps to extract the imaginary part value from a specific buffer data ty...
int m_nrows
Buffered number of rows.
int m_ncols
Buffered number of cols.
A raster band description.
A raster band description.
An abstract class for raster data strucutures.
void(* SetBufferValueFPtr)(int index, void *buffer, const double *value)
The type of function used to extract data from a buffer.
void(* GetBufferValueFPtr)(int index, void *buffer, double *value)
The type of function used to extract data from a buffer.
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).