26 #ifndef __TERRALIB_RASTER_INTERNAL_SYNCHRONIZEDBAND_H
27 #define __TERRALIB_RASTER_INTERNAL_SYNCHRONIZEDBAND_H
36 #include <boost/noncopyable.hpp>
42 class SynchronizedRaster;
71 void getValue(
unsigned int c,
unsigned int r,
double& value)
const;
73 void setValue(
unsigned int c,
unsigned int r,
const double value);
75 void getIValue(
unsigned int c,
unsigned int r,
double& value)
const;
77 void setIValue(
unsigned int c,
unsigned int r,
const double value);
79 void read(
int x,
int y,
void* buffer)
const;
81 void* read(
int x,
int y);
83 void write(
int x,
int y,
void* buffer);
116 #endif // __TERRALIB_RASTER_INTERNAL_SYNCHRONIZEDBAND_H
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.
unsigned int m_setGetBlkY
An adapter class to allow concurrent access to raster data by multiple threads.
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...
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...
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_getBuffI
A pointer to a function that helps to extract the imaginary part value from a specific buffer data ty...
unsigned int m_blkHeight
The current band blocks height.
void(* SetBufferValueFPtr)(int index, void *buffer, const double *value)
The type of function used to extract data from a buffer.
unsigned int m_blkWidth
The current band blocks width.
Utility functions for dealing with raster data blocks.
static SynchronizedBandBlocksManager dummyBlocksManager
A global static dummy blocks manager.
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.
Syncrhonized raster band.
It gives access to values in one band (dimension) of a raster.
A raster band description.
Synchronized raster raster band blocks manager.
Synchronized raster raster band blocks manager.
unsigned int m_blkSizeBytes
The blocks size (bytes);.
SynchronizedRaster * m_syncRasterPtr
The synchronized raster instance (parent raster).
unsigned int m_setGetBlkX
te::rst::Raster * getRaster() const
Returns the associated raster.
Configuration flags for the Raster module of TerraLib.
SynchronizedBandBlocksManager & m_blocksManager
The external blocks manager.