26 #ifndef __TERRALIB_MEMORY_INTERNAL_EXPANSIBLEBAND_H
27 #define __TERRALIB_MEMORY_INTERNAL_EXPANSIBLEBAND_H
30 #include "../raster/Band.h"
31 #include "../raster/BandProperty.h"
32 #include "../raster/BlockUtils.h"
41 #include <boost/noncopyable.hpp>
73 return m_parentRasterPtr;
76 void getValue(
unsigned int c,
unsigned int r,
double& value)
const;
78 void setValue(
unsigned int c,
unsigned int r,
const double value);
80 void getIValue(
unsigned int c,
unsigned int r,
double& value)
const;
82 void setIValue(
unsigned int c,
unsigned int r,
const double value);
84 void read(
int x,
int y,
void* buffer)
const;
88 return m_blocksManager.getBlockPointer( m_idx, x, y );
91 void write(
int x,
int y,
void* buffer);
126 #endif // __TERRALIB_MEMORY_INTERNAL_EXPANSIBLEBAND_H
unsigned int m_blkHeight
Block width in pixels (for pixel access optimization purposes).
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.
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...
A raster band description.
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::Raster * getRaster() const
Returns the associated raster.
void(* GetBufferValueFPtr)(int index, void *buffer, double *value)
The type of function used to extract data from a buffer.
An abstract class for raster data strucutures.
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...
RAM cached and tiled raster band blocks manager.
ExpansibleBandBlocksManager & m_blocksManager
The external blocks manager reference.
A raster band description.
RAM cached and tiled raster band blocks manager.
unsigned int m_blkWidth
Block width in pixels(for pixel access optimization purposes).
unsigned int m_setGetBlkY
unsigned int m_blkSizeBytes
Blosk size bytes (for pixel access optimization purposes).
unsigned int m_setGetBlkX
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::Raster * m_parentRasterPtr
The parent raster ponter.
static ExpansibleBandBlocksManager dummyBlocksManager
A global static dummy blocks manager.
void * read(int x, int y)
It reads and returns a data block.
te::rst::GetBufferValueFPtr m_getBuffI
A pointer to a function that helps to extract the imaginary part value from a specific buffer data ty...