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.
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).
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.
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.
Band * getBand(std::size_t i)
Returns the raster i-th band.
te::dt::AbstractData * clone() const
It returns a clone of this object.
~ProxyRaster()
Destructor.
const Band & operator[](std::size_t i) const
Access band in i position.
Band & operator[](std::size_t i)
Access band in i position.
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
std::vector< RasterPtr > m_rasters
The list of proxed rasters.
void updateRasterInfo()
update This instance raster info.
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.
Raster()
Default constructor.
AccessPolicy
Supported data access policies (can be used as bitfield).
Namespace for the Raster module of TerraLib.
InterpolationMethod
Allowed interpolation methods.
boost::shared_ptr< ProxyRaster > ProxyRasterPtr
An abstract class for raster data strucutures.
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.