26 #ifndef __TERRALIB_MEMORY_INTERNAL_CACHEDRASTER_H
27 #define __TERRALIB_MEMORY_INTERNAL_CACHEDRASTER_H
30 #include "../raster/Raster.h"
66 const unsigned int dataPrefetchThreshold );
78 const unsigned int dataPrefetchThreshold );
84 std::map<std::string, std::string>
getInfo()
const
86 assert( m_blocksManager.getRaster() );
87 return m_blocksManager.getRaster()->getInfo();
92 return m_bands.size();
97 assert( m_blocksManager.getRaster() );
98 return m_blocksManager.getRaster()->getBandDataType( i );
103 assert( i < m_bands.size() );
109 assert( i < m_bands.size() );
115 assert( i < m_bands.size() );
116 return *(m_bands[ i ]);
121 assert( i < m_bands.size() );
122 return *(m_bands[ i ]);
165 #endif //__TERRALIB_MEMORY_INTERNAL_CACHEDRASTER_H
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.
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 * getBand(std::size_t i)
Returns the raster i-th band.
Configuration flags for the TerraLib In-memory Data Access driver.
InterpolationMethod
Allowed interpolation methods.
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 & operator[](std::size_t i)
Access band in i position.
std::map< std::string, std::string > getInfo() const
It returns additional information about the raster.
RAM cached and tiled raster band blocks manager.
RAM cached and tiled raster band.
AccessPolicy
Supported data access policies (can be used as bitfield).
An abstract class for raster data strucutures.
A RAM cache adaptor to an external existent raster that must always be avaliable. ...
A base class for values that can be retrieved from the data access module.
A raster band description.
const te::rst::Band & operator[](std::size_t i) const
Access band in i position.
bool createMultiResolution(const unsigned int levels, const te::rst::InterpolationMethod interpMethod)
Create a sub-sampled multi-resolution pyramid.
unsigned int getMultiResLevelsCount() const
Returns the current number of multi-resolution pyramid levels.
std::vector< CachedBand * > m_bands
Internal raster bands.
RAM cached and tiled raster band blocks manager.
A rectified grid is the spatial support for raster data.
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
std::size_t getNumberOfBands() const
Returns the number of bands (dimension of cells attribute values) in the raster.
CachedBandBlocksManager m_blocksManager
Internal blocks manager.