26#ifndef __TERRALIB_MEMORY_INTERNAL_RASTER_H
27#define __TERRALIB_MEMORY_INTERNAL_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*));
A base class for values that can be retrieved from the data access module.
void updateRasterInfo()
update This instance raster info.
void(* m_deleter)(void *)
A pointer to a deleter function, if the buffer needs to be deleted by this object.
te::dt::AbstractData * clone() const
It returns a clone of this object.
std::map< std::string, std::string > m_rasterInfo
This instance info.
std::vector< te::rst::Band * > m_bands
The list of data bands.
int getBandDataType(std::size_t i) const
Returns the data type in a particular band (or dimension).
const te::rst::Band & operator[](std::size_t i) const
Access band in i position.
const te::rst::Band * getBand(std::size_t i) const
Returns the raster i-th band.
~Raster()
Virtual destructor.
Raster(const Raster &rhs)
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
std::map< std::string, std::string > getInfo() const
It returns additional information about the raster.
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.
void * m_externalBuffer
An external buffer.
te::rst::Band * getBand(std::size_t i)
Returns the raster i-th band.
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.
void open(const std::map< std::string, std::string > &rinfo, te::common::AccessPolicy p=te::common::RAccess)
Opens a raster.
te::rst::Band & operator[](std::size_t i)
Access band in i position.
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.
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).
Namespace for the memory data source of TerraLib.
InterpolationMethod
Allowed interpolation methods.
An abstract class for raster data strucutures.
Configuration flags for the TerraLib In-memory Data Access driver.
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.