26 #ifndef __TERRALIB_IDL_INTERNAL_IDLBAND_H
27 #define __TERRALIB_IDL_INTERNAL_IDLBAND_H
31 #include "../raster/Band.h"
32 #include "../raster/BlockUtils.h"
73 std::size_t idx,
int dataType,
const unsigned int nBands,
74 const unsigned int nLines,
const unsigned int nCols );
83 void getValue(
unsigned int c,
unsigned int r,
double& value)
const;
85 void setValue(
unsigned int c,
unsigned int r,
const double value);
87 void getIValue(
unsigned int c,
unsigned int r,
double& value)
const;
89 void setIValue(
unsigned int c,
unsigned int r,
const double value);
91 void read(
int x,
int y,
void* buffer)
const;
93 inline void*
read(
int x,
int y)
95 return m_allBandsDataPtr;
98 void write(
int x,
int y,
void* buffer);
130 #endif // __TERRALIB_IDL_INTERNAL_IDLBAND_H
te::rst::SetBufferValueFPtr m_setBuffI
A pointer to a function that helps to insert the imaginary part value into a specific buffer data typ...
unsigned int m_nLines
The parent raster number of lines.
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::Raster * getRaster() const
Returns the associated raster.
#define TEIDLEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the IDL module of TerraLib.
unsigned int m_nBands
The parent raster number of bands.
An abstract class for raster data strucutures.
unsigned int m_nCols
The parent raster number of columns.
A adaptor to an external existent raster in a idl array form.
void(* SetBufferValueFPtr)(int index, void *buffer, const double *value)
The type of function used to extract data from a buffer.
void * read(int x, int y)
It reads and returns a data block.
void * m_allBandsDataPtr
Data buffer pointer.
A 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...
te::rst::Raster * m_rasterPtr
A pointer to the parent raster instance.
unsigned int m_bufferOffset
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...