28 #ifndef __TERRALIB_SA_INTERNAL_SAMPLEPOINTSGENERATORABSTRACT_H
29 #define __TERRALIB_SA_INTERNAL_SAMPLEPOINTSGENERATORABSTRACT_H
32 #include "../../dataaccess/datasource/DataSource.h"
33 #include "../Config.h"
40 #include <boost/random/mersenne_twister.hpp>
41 #include <boost/random/uniform_real_distribution.hpp>
46 namespace da {
class DataSetType; }
47 namespace gm {
class Envelope; }
48 namespace gm {
class Point; }
49 namespace mem {
class DataSet; }
75 void setSRID(
int srid);
81 void setOutputDataSetName(std::string dataSetName);
89 virtual std::auto_ptr<te::da::DataSetType> createDataSetType() = 0;
120 #endif // __TERRALIB_SA_INTERNAL_SAMPLEPOINTSGENERATORABSTRACT_H
boost::shared_ptr< DataSource > DataSourcePtr
te::sa::SamplePointsGeneratorType m_type
Generator Type.
A class that models the description of a dataset.
boost::random::uniform_real_distribution m_distReal
boost::random::mt19937 m_gen
std::string m_outputDataSetName
Attribute that defines the output dataset name.
Implementation of a random-access dataset class for the TerraLib In-Memory Data Access driver...
A point with x and y coordinate values.
An Envelope defines a 2D rectangular region.
te::gm::Envelope m_env
Attribute used to restrict the area to generate the samples.
Virtual class to generate samples points.
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.
te::da::DataSourcePtr m_ds
Pointer to the output datasource.
SamplePointsGeneratorType
Generator types used to create sample of points.
int m_srid
Attribute with spatial reference information.