25 #ifndef __TERRALIB_RP_INTERNAL_FEEDERSRASTER_H
26 #define __TERRALIB_RP_INTERNAL_FEEDERSRASTER_H
30 #include "../raster/Raster.h"
31 #include "../geometry/Geometry.h"
54 virtual bool moveNext() = 0;
55 virtual bool moveTo(
const unsigned int index ) = 0;
56 virtual void reset() = 0;
57 virtual unsigned int getObjsCount()
const = 0;
58 virtual unsigned int getCurrentOffset()
const = 0;
86 bool moveTo(
const unsigned int index );
88 unsigned int getObjsCount()
const;
89 unsigned int getCurrentOffset()
const;
114 const std::vector< std::map< std::string, std::string > >& rInfos );
121 bool moveTo(
const unsigned int index );
123 unsigned int getObjsCount()
const;
124 unsigned int getCurrentOffset()
const;
130 std::vector< std::map< std::string, std::string > >
m_rInfos;
152 const std::vector< const te::rst::Raster* > rastersPtrsVec,
153 const std::vector< std::string >& rTypes,
154 const std::vector< std::map< std::string, std::string > >& rInfos );
161 bool moveTo(
const unsigned int index );
163 unsigned int getObjsCount()
const;
164 unsigned int getCurrentOffset()
const;
173 std::vector< std::map< std::string, std::string > >
m_rInfos;
197 const bool recursive,
198 const std::string& rType,
199 const bool sortFileNames,
200 const std::vector< std::string >& fileExtensions );
213 const bool recursive,
214 const std::string& rType,
215 const bool sortFileNames,
216 const std::vector< std::string >& fileExtensions,
218 const bool ignoreInvalidRasterFiles );
226 const std::string& getCurrentRasterFileName();
231 bool moveTo(
const unsigned int index );
233 unsigned int getObjsCount()
const;
234 unsigned int getCurrentOffset()
const;
265 bool initialize(
const std::string& directoryName,
266 const bool recursive,
267 const std::string& rType,
268 const bool sortFileNames,
269 const std::vector< std::string >& fileExtensions,
271 const bool ignoreInvalidRasterFiles );
276 #endif // __TERRALIB_RP_INTERNAL_FEEDERSRASTER_H
A feeder from a input rasters vector;.
std::vector< te::gm::Polygon > m_allRastersBoundingBoxes
std::vector< const te::rst::Raster * > m_rasters
std::auto_ptr< te::gm::Geometry > m_restrictionGeomPtr
std::auto_ptr< te::rst::Raster > m_currentRasterHandler
te::rst::Raster const * m_currentRasterNakedPtr
std::vector< const te::rst::Raster * >::size_type m_currentOffset
std::vector< unsigned int >::size_type m_selectedRasterIndexesOffset
std::vector< const te::rst::Raster * > m_rasters
std::vector< const te::rst::Raster * >::size_type m_CurrentRasterOffset
An abstract class for raster data strucutures.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::auto_ptr< te::rst::Raster > m_currentRasterPtr
std::vector< std::map< std::string, std::string > > m_rInfos
virtual ~FeederConstRaster()
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::vector< std::string > m_rTypes
Configuration flags for the Raster Processing module of TerraLib.
Feeder from a input rasters.
A feeder from an input directory name.
std::vector< std::map< std::string, std::string > > m_rInfos
std::vector< unsigned int > m_selectedRastersIndexes
std::vector< std::string >::size_type m_currentOffset
std::auto_ptr< te::rst::Raster > m_currentRasterPtr
bool m_ignoreInvalidRasterFiles
If true, invalid raster files will be ignored.
std::vector< std::string > m_rTypes
std::vector< std::string > m_allRasterFileNames