27 #include "../common/Translator.h"
33 #include <terralib/kernel/TeRaster.h>
46 : m_parent(parent), m_raster(iraster)
63 return m_pImpl->m_parent;
68 m_pImpl->m_raster->getElement(c, r, value, m_idx);
73 throw Exception(
TR_TERRALIB4(
"This method is not supported by TerraLib 4.x driver!"));
83 throw Exception(
TR_TERRALIB4(
"This method is not supported by TerraLib 4.x driver!"));
98 throw Exception(
TR_TERRALIB4(
"This method is not supported by TerraLib 4.x driver!"));
Impl(Raster *parent, TeRaster *iraster)
Band(Raster *parent, TeRaster *iraster, te::rst::BandProperty *bp, std::size_t idx)
#define TR_TERRALIB4(message)
It marks a string in order to get translated. This is a special mark used in the DataAccess module of...
~Band()
Virtual destructor.
void getIValue(unsigned int c, unsigned int r, double &value) const
Returns the imaginary attribute value in a complex band of a cell.
void setValue(unsigned int c, unsigned int r, const double value)
Sets the cell attribute value.
Raster implementaton for TerraLib 4.x.
Band implementation for TerraLib 4.x.
A raster band description.
void getValue(unsigned int c, unsigned int r, double &value) const
Returns the cell attribute value.
void write(int x, int y, void *buffer)
It writes a data block from the specified buffer.
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.
An abstract class for raster data strucutures.
te::rst::Raster * getRaster() const
Returns the associated raster.