26 #ifndef __TERRALIB_RASTER_INTERNAL_SYNCHRONIZEDRASTER_H
27 #define __TERRALIB_RASTER_INTERNAL_SYNCHRONIZEDRASTER_H
79 std::map<std::string, std::string> getInfo()
const;
83 return m_bands.size();
86 int getBandDataType(std::size_t i)
const;
90 assert( i < m_bands.size() );
96 assert( i < m_bands.size() );
102 assert( i < m_bands.size() );
103 return *(m_bands[ i ]);
108 assert( i < m_bands.size() );
109 return *(m_bands[ i ]);
154 #endif //__TERRALIB_RASTER_INTERNAL_SYNCHRONIZEDRASTER_H
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.
const te::rst::Band & operator[](std::size_t i) const
Access band in i position.
An adapter class to allow concurrent access to raster data by multiple threads.
te::rst::Band & operator[](std::size_t i)
Access band in i position.
SynchronizedBandBlocksManager m_blocksManager
Internal blocks manager.
te::rst::Band * getBand(std::size_t i)
Returns the raster i-th band.
bool createMultiResolution(const unsigned int levels, const InterpolationMethod interpMethod)
Create a sub-sampled multi-resolution pyramid.
An access synchronizer to be used in SynchronizedRaster raster instances.
std::size_t getNumberOfBands() const
Returns the number of bands (dimension of cells attribute values) in the raster.
bool removeMultiResolution()
Remove/Destroy a sub-sampled multi-resolution pyramid, if there is one.
InterpolationMethod
Allowed interpolation methods.
const te::rst::Band * getBand(std::size_t i) const
Returns the raster i-th band.
Syncrhonized raster band.
AccessPolicy
Supported data access policies (can be used as bitfield).
An abstract class for raster data strucutures.
An abstract class for raster data strucutures.
An access synchronizer to be used in SynchronizedRaster raster instances.
A base class for values that can be retrieved from the data access module.
A raster band description.
Synchronized raster raster band blocks manager.
Raster * getMultiResLevel(const unsigned int level) const
Returns the required level of a multi-resolution pyramid or NULL if that level does not exists...
Synchronized raster raster band blocks manager.
std::vector< SynchronizedBand * > m_bands
Internal raster bands.
unsigned int getMultiResLevelsCount() const
Returns the current number of multi-resolution pyramid levels.
Configuration flags for the Raster module of TerraLib.
A rectified grid is the spatial support for raster data.