20#ifndef __TERRALIB_RASTER_INTERNAL_GAINOFFSETPROXYRASTER_H
21#define __TERRALIB_RASTER_INTERNAL_GAINOFFSETPROXYRASTER_H
57 const std::vector< double >& gains,
const std::vector< double >& offsets,
58 const std::vector< double >& noDataValues );
65 std::map<std::string, std::string>
getInfo()
const;
83 std::vector< std::shared_ptr< GainOffsetProxyBand > >
m_bands;
AbstractData()
Constructor.
A raster band description.
GainOffsetProxyRaster raster band.
void open(const std::map< std::string, std::string > &rinfo, te::common::AccessPolicy p=te::common::RAccess)
Opens a raster.
unsigned int getMultiResLevelsCount() const
Returns the current number of multi-resolution pyramid levels.
std::size_t getNumberOfBands() const
Returns the number of bands (dimension of cells attribute values) in the raster.
const Band * getBand(std::size_t i) const
Returns the raster i-th band.
GainOffsetProxyRaster(const GainOffsetProxyRaster &rhs)
Raster * getMultiResLevel(const unsigned int level) const
Returns the required level of a multi-resolution pyramid or NULL if that level does not exists.
te::rst::Raster const * m_inputRasterPtr
Input raster pointer.
~GainOffsetProxyRaster()
Destructor.
GainOffsetProxyRaster(te::rst::Raster &inputRaster, const std::vector< double > &gains, const std::vector< double > &offsets, const std::vector< double > &noDataValues)
Default Constructor.
std::map< std::string, std::string > m_rasterInfo
This instance info.
std::map< std::string, std::string > getInfo() const
It returns additional information about the raster.
std::vector< std::shared_ptr< GainOffsetProxyBand > > m_bands
Pointers the this instance bands.
int getBandDataType(std::size_t i) const
Returns the data type in a particular band (or dimension).
AbstractData * clone() const
It returns a clone of this object.
const Band & operator[](std::size_t i) const
Access band in i position.
bool createMultiResolution(const unsigned int levels, const InterpolationMethod interpMethod)
Create a sub-sampled multi-resolution pyramid.
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
Band & operator[](std::size_t i)
Access band in i position.
std::vector< double > m_noDataValues
External values to be interpreted as No-data values..
Band * getBand(std::size_t i)
Returns the raster i-th band.
An abstract class for raster data strucutures.
Raster()
Default constructor.
AccessPolicy
Supported data access policies (can be used as bitfield).
Namespace for the Raster module of TerraLib.
InterpolationMethod
Allowed interpolation methods.
An abstract class for raster data strucutures.
Configuration flags for the Raster module of TerraLib.
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.