Class to generate samples points using random strategy. More...
#include <SamplePointsGeneratorRandom.h>
  
 Public Member Functions | |
| void | execute () | 
| Function to execute the kernel operation.  More... | |
| SamplePointsGeneratorRandom () | |
| Default constructor.  More... | |
| void | setEnvelope (te::gm::Envelope env) | 
| void | setNumberOfPoints (int nPoints) | 
| void | setOutputDataSetName (std::string dataSetName) | 
| void | setOutputDataSource (te::da::DataSourcePtr ds) | 
| void | setSRID (int srid) | 
| virtual | ~SamplePointsGeneratorRandom () | 
| Virtual destructor.  More... | |
Protected Member Functions | |
| virtual std::unique_ptr< te::da::DataSetType > | createDataSetType () | 
| virtual std::unique_ptr< te::mem::DataSet > | generateSamples (te::da::DataSetType *dsType) | 
| te::gm::Point * | getPoint (const te::gm::Envelope *env) | 
| void | saveDataSet (te::mem::DataSet *dataSet, te::da::DataSetType *dsType) | 
Protected Attributes | |
| boost::random::uniform_real_distribution | m_distReal | 
| te::da::DataSourcePtr | m_ds | 
| Pointer to the output datasource.  More... | |
| te::gm::Envelope | m_env | 
| Attribute used to restrict the area to generate the samples.  More... | |
| boost::random::mt19937 | m_gen | 
| int | m_nPoints | 
| Attribute used to define the number of points to be generated.  More... | |
| std::string | m_outputDataSetName | 
| Attribute that defines the output dataset name.  More... | |
| int | m_srid | 
| Attribute with spatial reference information.  More... | |
| te::sa::SamplePointsGeneratorType | m_type | 
| Generator Type.  More... | |
Class to generate samples points using random strategy.
Definition at line 51 of file SamplePointsGeneratorRandom.h.
| te::sa::SamplePointsGeneratorRandom::SamplePointsGeneratorRandom | ( | ) | 
Default constructor.
      
  | 
  virtual | 
Virtual destructor.
      
  | 
  protectedvirtual | 
Function used to create the output dataset type
Implements te::sa::SamplePointsGeneratorAbstract.
      
  | 
  inherited | 
Function to execute the kernel operation.
      
  | 
  protectedvirtual | 
Function used to create the output data
Implements te::sa::SamplePointsGeneratorAbstract.
      
  | 
  protectedinherited | 
Function used to generate a randon point inside a defined envelope
      
  | 
  protectedinherited | 
Function used to save the output dataset
      
  | 
  inherited | 
Function used to set the envelope parameter
| void te::sa::SamplePointsGeneratorRandom::setNumberOfPoints | ( | int | nPoints | ) | 
Function used to set the number of points to be generated
      
  | 
  inherited | 
Function used to set the output dataset name parameter
      
  | 
  inherited | 
Function used to set the output data source parameter
      
  | 
  inherited | 
Function used to set the envelope parameter
      
  | 
  protectedinherited | 
Definition at line 114 of file SamplePointsGeneratorAbstract.h.
      
  | 
  protectedinherited | 
Pointer to the output datasource.
Definition at line 106 of file SamplePointsGeneratorAbstract.h.
      
  | 
  protectedinherited | 
Attribute used to restrict the area to generate the samples.
Definition at line 104 of file SamplePointsGeneratorAbstract.h.
      
  | 
  protectedinherited | 
Definition at line 112 of file SamplePointsGeneratorAbstract.h.
      
  | 
  protected | 
Attribute used to define the number of points to be generated.
Definition at line 76 of file SamplePointsGeneratorRandom.h.
      
  | 
  protectedinherited | 
Attribute that defines the output dataset name.
Definition at line 108 of file SamplePointsGeneratorAbstract.h.
      
  | 
  protectedinherited | 
Attribute with spatial reference information.
Definition at line 102 of file SamplePointsGeneratorAbstract.h.
      
  | 
  protectedinherited | 
Generator Type.
Definition at line 110 of file SamplePointsGeneratorAbstract.h.