26 #ifndef __TERRALIB_IDL_INTERNAL_CACHEDRASTER_H
27 #define __TERRALIB_IDL_INTERNAL_CACHEDRASTER_H
32 #include "../raster/Raster.h"
34 #include <idl_export.h>
61 IdlRaster(
const IDL_VPTR& idlValuePointer,
const bool takeBufferOwnership );
67 std::map<std::string, std::string> getInfo()
const;
71 return m_bands.size();
81 assert( i < m_bands.size() );
87 assert( i < m_bands.size() );
93 assert( i < m_bands.size() );
94 return *(m_bands[ i ]);
99 assert( i < m_bands.size() );
100 return *(m_bands[ i ]);
105 unsigned char* m_allBandsDataPtr;
129 #endif //__TERRALIB_IDL_INTERNAL_CACHEDRASTER_H
te::rst::Band * getBand(std::size_t i)
Returns the raster i-th band.
std::vector< te::idl::IdlBand * > m_bands
Internal raster bands.
int getBandDataType(std::size_t i) const
Returns the data type in a particular band (or dimension).
#define TEIDLEXPORT
You can use this macro in order to export/import classes and functions from this module.
A adaptor to an external existent raster in a idl array form.
bool m_takeBufferOwnership
If true, the data buffer will be deleted when necessary.
const te::rst::Band * getBand(std::size_t i) const
Returns the raster i-th band.
AccessPolicy
Supported data access policies (can be used as bitfield).
Configuration flags for the IDL module of TerraLib.
A rectified grid is the spatial support for raster data.
A raster band description.
std::size_t getNumberOfBands() const
Returns the number of bands (dimension of cells attribute values) in the raster.
int m_dataType
Data type used by all bands.
A adaptor to an external existent raster in a idl array form.
A base class for values that can be retrieved from the data access module.
An abstract class for raster data strucutures.
te::rst::Band & operator[](std::size_t i)
Access band in i position.
const te::rst::Band & operator[](std::size_t i) const
Access band in i position.