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;
154 const bool recursive,
155 const std::string& rType,
156 const bool sortFileNames,
157 const std::vector< std::string >& fileExtensions );
170 const bool recursive,
171 const std::string& rType,
172 const bool sortFileNames,
173 const std::vector< std::string >& fileExtensions,
175 const bool ignoreInvalidRasterFiles );
183 const std::string& getCurrentRasterFileName();
188 bool moveTo(
const unsigned int index );
190 unsigned int getObjsCount()
const;
191 unsigned int getCurrentOffset()
const;
222 bool initialize(
const std::string& directoryName,
223 const bool recursive,
224 const std::string& rType,
225 const bool sortFileNames,
226 const std::vector< std::string >& fileExtensions,
228 const bool ignoreInvalidRasterFiles );
233 #endif // __TERRALIB_RP_INTERNAL_FEEDERSRASTER_H
A feeder from a input rasters vector;.
std::vector< te::gm::Polygon > m_allRastersBoundingBoxes
std::auto_ptr< te::gm::Geometry > m_restrictionGeomPtr
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
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
virtual ~FeederConstRaster()
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
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