26 #ifndef __TERRALIB_MEMORY_INTERNAL_RASTER_H
27 #define __TERRALIB_MEMORY_INTERNAL_RASTER_H
30 #include "../raster/Raster.h"
56 std::map<std::string, std::string>
getInfo()
const;
81 const std::vector<te::rst::BandProperty*> bands,
82 const std::map<std::string, std::string>& rinfo,
83 void* h,
void (*deleter)(
void*));
105 void (*m_deleter)(
void*);
A base class for values that can be retrieved from the data access module.
A raster class for memory.
void updateRasterInfo()
update This instance raster info.
std::map< std::string, std::string > m_rasterInfo
This instance info.
te::rst::Band & operator[](std::size_t i)
Access band in i position.
std::vector< te::rst::Band * > m_bands
The list of data bands.
std::map< std::string, std::string > getInfo() const
It returns additional information about the raster.
te::rst::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::Band * getBand(std::size_t i)
Returns the raster i-th band.
int getBandDataType(std::size_t i) const
Returns the data type in a particular band (or dimension).
~Raster()
Virtual destructor.
const te::rst::Band * getBand(std::size_t i) const
Returns the raster i-th band.
Raster(const Raster &rhs)
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
void create(te::rst::Grid *g, const std::vector< te::rst::BandProperty * > bands, const std::map< std::string, std::string > &rinfo, void *h, void(*deleter)(void *))
unsigned int getMultiResLevelsCount() const
Returns the current number of multi-resolution pyramid levels.
te::dt::AbstractData * clone() const
It returns a clone of this object.
void * m_externalBuffer
An external buffer.
bool createMultiResolution(const unsigned int levels, const te::rst::InterpolationMethod interpMethod)
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.
const te::rst::Band & operator[](std::size_t i) const
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.
A raster band description.
A rectified grid is the spatial support for raster data.
An abstract class for raster data strucutures.
AccessPolicy
Supported data access policies (can be used as bitfield).
InterpolationMethod
Allowed interpolation methods.
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).