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 "../raster/Raster.h"
42 #include "../rp/Texture.h"
43 #include "../statistics/core/Enums.h"
56 namespace attributefill
68 std::string inVectorName,
69 std::auto_ptr<te::da::DataSetTypeConverter> 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);
109 #endif // __TERRALIB_ATTRIBUTEFILL_INTERNAL_RASTER_TO_VECTOR_H
std::auto_ptr< te::da::DataSetTypeConverter > m_inVectorDsType
Configuration flags for the Attribute Fill module of TerraLib.
boost::shared_ptr< DataSource > DataSourcePtr
te::da::DataSourcePtr m_outDsrc
std::vector< te::stat::StatisticalSummary > m_statSum
te::rst::Raster * m_inRaster
#define TEATTRIBUTEFILLEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
An abstract class for raster data strucutures.
const te::da::ObjectIdSet * m_oidSet
te::da::DataSourcePtr m_inVectorDsrc
std::vector< unsigned int > m_bands
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::string m_inVectorName