28 #ifndef __TERRALIB_SA_INTERNAL_SAMPLEPOINTSGENERATORSTRATIFIED_H    29 #define __TERRALIB_SA_INTERNAL_SAMPLEPOINTSGENERATORSTRATIFIED_H    32 #include "../../geometry/Geometry.h"    40 #include <boost/random/mersenne_twister.hpp>    41 #include <boost/random/uniform_int_distribution.hpp>    46   namespace da  { 
class DataSet; }
    47   namespace da  { 
class DataSetType; }
    48   namespace mem { 
class DataSet; }
    71         void setNumberOfPoints(
int nPoints);
    74         void setInputDataSet(std::unique_ptr<te::da::DataSet> dataSet);
    77         void setInputAttributeName(std::string attrName);
    80         void isProportionalToArea(
bool isProp);
    83         std::vector<std::string> getClassNames();
    88         virtual std::unique_ptr<te::da::DataSetType> createDataSetType();
    94         void createClassMap();
   109         std::map<std::string, std::vector<te::gm::Geometry*> > 
m_classMap; 
   117 #endif // __TERRALIB_SA_INTERNAL_SAMPLEPOINTSGENERATORSTRATIFIED_H std::unique_ptr< te::da::DataSet > m_dataSet
Attribute with input data. 
 
std::string m_attrName
Attribute used to get from input data the selected attribute. 
 
bool m_propToArea
Attribute used to indicate if the number of samples has to be proportional to the area...
 
boost::random::uniform_int_distribution m_distInt
 
A class that models the description of a dataset. 
 
Class to generate samples points using stratified strategy. 
 
std::map< std::string, std::vector< te::gm::Geometry * > > m_classMap
Attribute with polygons for each class from input dataset. 
 
A point with x and y coordinate values. 
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
Virtual class to generate samples points. 
 
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
int m_nPoints
Attribute used to define the number of points to be generated. 
 
This file contains a virtual class to generate samples points.