26 #ifndef __TERRALIB_RASTER_INTERNAL_PROXYRASTER_H
27 #define __TERRALIB_RASTER_INTERNAL_PROXYRASTER_H
62 const bool takeRastersOwnership );
87 void swap(std::size_t first, std::size_t second);
91 std::map<std::string, std::string>
getInfo()
const;
A base class for values that can be retrieved from the data access module.
A raster band description.
A proxy class for bands of several rasters over the same region.
unsigned int getMultiResLevelsCount() const
Returns the current number of multi-resolution pyramid levels.
int getBandDataType(std::size_t i) const
Returns the data type in a particular band (or dimension).
const Band & operator[](std::size_t i) const
Access band in i position.
Raster * getMultiResLevel(const unsigned int level) const
Returns the required level of a multi-resolution pyramid or NULL if that level does not exists.
bool createMultiResolution(const unsigned int levels, const InterpolationMethod interpMethod)
Create a sub-sampled multi-resolution pyramid.
ProxyRaster(const ProxyRaster &rhs)
Copy constructor.
std::size_t getNumberOfBands() const
Returns the number of bands (dimension of cells attribute values) in the raster.
ProxyRaster(const std::vector< te::rst::Raster * > &rasters, const bool takeRastersOwnership)
Constructor from a set of rasters.
te::dt::AbstractData * clone() const
It returns a clone of this object.
std::vector< Band * > m_bands
The proxy raster bands.
std::map< std::string, std::string > m_rasterInfo
This instance info.
ProxyRaster(const std::vector< RasterPtr > &rasters)
Constructor from a set of rasters.
void swap(std::size_t first, std::size_t second)
void open(const std::map< std::string, std::string > &rinfo, te::common::AccessPolicy p=te::common::RAccess)
Opens a raster.
const Band * getBand(std::size_t i) const
Returns the raster i-th band.
std::map< std::string, std::string > getInfo() const
It returns additional information about the raster.
~ProxyRaster()
Destructor.
Band * getBand(std::size_t i)
Returns the raster i-th band.
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
std::vector< RasterPtr > m_rasters
The list of proxed rasters.
Band & operator[](std::size_t i)
Access band in i position.
void updateRasterInfo()
update This instance raster info.
An abstract class for raster data strucutures.
AccessPolicy
Supported data access policies (can be used as bitfield).
InterpolationMethod
Allowed interpolation methods.
boost::shared_ptr< ProxyRaster > ProxyRasterPtr
Raster implementaton for TerraLib 4.x.
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.