26 #ifndef __TERRALIB_MEMORY_INTERNAL_BAND_H
27 #define __TERRALIB_MEMORY_INTERNAL_BAND_H
30 #include "../raster/Band.h"
31 #include "../raster/BlockUtils.h"
63 void getValue(
unsigned int c,
unsigned int r,
double& value)
const;
65 void setValue(
unsigned int c,
unsigned int r,
const double value);
67 void getIValue(
unsigned int c,
unsigned int r,
double& value)
const;
69 void setIValue(
unsigned int c,
unsigned int r,
const double value);
71 void read(
int x,
int y,
void* buffer)
const;
73 void* read(
int x,
int y);
75 void write(
int x,
int y,
void* buffer);
82 int getBlockSize()
const;
101 #endif // __TERRALIB_MEMORY_INTERNAL_BAND_H
A raster class for memory.
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 TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.
A raster band description.
int m_nrows
Buffered number of rows.
int m_blksize
The data block size.
Configuration flags for the TerraLib In-memory Data Access driver.
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...
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(* GetBufferValueFPtr)(int index, void *buffer, double *value)
The type of function used to extract data from a buffer.
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...
An abstract class for raster data strucutures.
bool m_releaseBuffer
A flag that indicates if the buffer must be released when the band goes out of scope.
A raster band description.
Band implementation for the In-Memory Raster.
int m_ncols
Buffered number of cols.
unsigned char * m_buff
A pointer to a block buffer.