28 #ifndef __TERRALIB_ATTRIBUTEFILL_INTERNAL_RASTER_TO_VECTOR_H
29 #define __TERRALIB_ATTRIBUTEFILL_INTERNAL_RASTER_TO_VECTOR_H
33 #include "../dataaccess/dataset/DataSet.h"
34 #include "../dataaccess/dataset/DataSetType.h"
35 #include "../dataaccess/dataset/ObjectIdSet.h"
36 #include "../dataaccess/datasource/DataSource.h"
38 #include "../datatype/Property.h"
40 #include "../memory/DataSet.h"
41 #include "../rp/Texture.h"
42 #include "../statistics/core/Enums.h"
55 namespace attributefill
66 std::string inRasterName,
67 std::auto_ptr<te::da::DataSetType> inRasterDsType,
69 std::string inVectorName,
70 std::auto_ptr<te::da::DataSetType> inVectorDsType);
72 void setParams(std::vector<unsigned int> bands,
73 std::vector<te::stat::StatisticalSummary> statSum,
78 bool paramsAreValid();
84 std::vector<std::set<int> > getPixelDistinct(
te::rst::Raster* rst, std::vector<unsigned int> bands);
86 std::auto_ptr<te::da::DataSetType> getDataSetType(std::vector<std::set<int> > pixelDistinct = std::vector<std::set<int> >());
92 bool save(std::auto_ptr<te::mem::DataSet> result, std::auto_ptr<te::da::DataSetType> outDsType);
110 #endif // __TERRALIB_ATTRIBUTEFILL_INTERNAL_RASTER_TO_VECTOR_H
Configuration flags for the Attribute Fill module of TerraLib.
boost::shared_ptr< DataSource > DataSourcePtr
te::da::DataSourcePtr m_outDsrc
std::string m_inRasterName
std::vector< te::stat::StatisticalSummary > m_statSum
#define TEATTRIBUTEFILLEXPORT
You can use this macro in order to export/import classes and functions from this module.
An abstract class for raster data strucutures.
std::auto_ptr< te::da::DataSetType > m_inRasterDsType
te::da::DataSourcePtr m_inVectorDsrc
std::vector< unsigned int > m_bands
te::da::DataSourcePtr m_inRasterDsrc
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::string m_inVectorName
std::auto_ptr< te::da::DataSetType > m_inVectorDsType