26 #ifndef __TERRALIB_TERRALIB4_INTERNAL_RASTER_H
27 #define __TERRALIB_TERRALIB4_INTERNAL_RASTER_H
30 #include "../raster/Raster.h"
46 void open(
const std::map<std::string, std::string>& rinfo,
49 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 rectified grid is the spatial support for raster data.
An abstract class for raster data strucutures.
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
unsigned int getMultiResLevelsCount() const
Returns the current number of multi-resolution pyramid levels.
Raster(te::rst::Grid *grid, te::common::AccessPolicy p=te::common::RAccess)
te::rst::Raster * getMultiResLevel(const unsigned int) const
Returns the required level of a multi-resolution pyramid or NULL if that level does not exists.
Raster(TeRaster *iraster)
const te::rst::Band & operator[](std::size_t i) const
Access band in i position.
te::dt::AbstractData * clone() const
It returns a clone of this object.
int getBandDataType(std::size_t i) const
Returns the data type in a particular band (or dimension).
const te::rst::Band * getBand(std::size_t i) const
Returns the raster i-th band.
te::rst::Band & operator[](std::size_t i)
Access band in i position.
void open(const std::map< std::string, std::string > &rinfo, te::common::AccessPolicy p=te::common::RAccess)
Opens a raster.
~Raster()
Virtual destructor.
te::rst::Band * getBand(std::size_t i)
Returns the raster i-th band.
std::map< std::string, std::string > getInfo() const
It returns additional information about the raster.
bool createMultiResolution(const unsigned int, const te::rst::InterpolationMethod)
Create a sub-sampled multi-resolution pyramid.
std::size_t getNumberOfBands() const
Returns the number of bands (dimension of cells attribute values) in the raster.
AccessPolicy
Supported data access policies (can be used as bitfield).
InterpolationMethod
Allowed interpolation methods.