Go to the documentation of this file.
29 #ifndef __TERRALIB_ATTRIBUTEFILL_INTERNAL_RASTER_TO_VECTOR_H
30 #define __TERRALIB_ATTRIBUTEFILL_INTERNAL_RASTER_TO_VECTOR_H
34 #include "../dataaccess/dataset/DataSet.h"
35 #include "../dataaccess/dataset/DataSetType.h"
36 #include "../dataaccess/dataset/DataSetTypeConverter.h"
37 #include "../dataaccess/dataset/ObjectIdSet.h"
38 #include "../dataaccess/datasource/DataSource.h"
40 #include "../datatype/Property.h"
42 #include "../memory/DataSet.h"
43 #include "../raster/Raster.h"
44 #include "../rp/Texture.h"
45 #include "../statistics/core/Enums.h"
56 namespace attributefill
69 std::string inVectorName,
74 std::vector<te::stat::StatisticalSummary> statSum,
75 bool iteratorByBox,
bool texture);
85 unsigned int inputRasterBand,
86 std::vector<double>& values);
89 std::vector<std::vector<double> > pixelDistinct =
90 std::vector<std::vector<double> >());
95 void joinMaps(std::map<double, int>& mainMap, std::map<double, int>& newMap);
97 void joinMaps(std::map<double, double>& mainMap, std::map<double, double>& newMap);
117 #endif // __TERRALIB_ATTRIBUTEFILL_INTERNAL_RASTER_TO_VECTOR_H
te::da::DataSourcePtr m_outDsrc
void save(te::da::DataSet *result, te::da::DataSetType *outDsType)
te::rst::Raster * m_inRaster
std::string m_inVectorName
An abstract class for raster data strucutures.
void joinMaps(std::map< double, int > &mainMap, std::map< double, int > &newMap)
te::da::DataSourcePtr m_inVectorDsrc
void setInput(te::rst::Raster *inRaster, te::da::DataSourcePtr inVectorDsrc, std::string inVectorName, te::da::DataSetTypeConverter *inVectorDsType, const te::da::ObjectIdSet *oidSet=0)
#define TEATTRIBUTEFILLEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::vector< te::rp::Texture > getTexture(te::rst::Raster *rst, te::gm::Geometry *geom, int band)
std::unique_ptr< te::da::DataSetTypeConverter > m_inVectorDsType
void joinMaps(std::map< double, double > &mainMap, std::map< double, double > &newMap)
std::unique_ptr< da::DataSetType > getDataSetType(std::vector< std::vector< double > > pixelDistinct=std::vector< std::vector< double > >())
std::vector< unsigned int > m_bands
void setOutput(te::da::DataSourcePtr outDsrc, std::string dsName)
boost::shared_ptr< DataSource > DataSourcePtr
A dataset is the unit of information manipulated by the data access module of TerraLib.
Proxy configuration file for TerraView (see terraview_config.h).
A class that models the description of a dataset.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
void getPixelDistinct(rst::Raster &inputRaster, unsigned int inputRasterBand, std::vector< double > &values)
std::vector< te::stat::StatisticalSummary > m_statSum
An converter for DataSetType.
void setParams(std::vector< unsigned int > bands, std::vector< te::stat::StatisticalSummary > statSum, bool iteratorByBox, bool texture)
This class represents a set of unique ids created in the same context. i.e. from the same data set.
const te::da::ObjectIdSet * m_oidSet