#include <SamplePointsGeneratorDialog.h>
Public Member Functions | |
te::map::AbstractLayerPtr | getOutputLayer () |
SamplePointsGeneratorDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
Set the layer that can be used. More... | |
~SamplePointsGeneratorDialog () | |
Protected Slots | |
void | onInputLayerComboBoxActivated (int index) |
void | onOkPushButtonClicked () |
void | onTargetDatasourceToolButtonPressed () |
void | onTargetFileToolButtonPressed () |
Protected Member Functions | |
void | fillGeneratorTypes () |
Private Attributes | |
te::da::DataSourceInfoPtr | m_outputDatasource |
te::map::AbstractLayerPtr | m_outputLayer |
Generated Layer. More... | |
bool | m_toFile |
std::auto_ptr< Ui::SamplePointsGeneratorDialogForm > | m_ui |
Definition at line 49 of file SamplePointsGeneratorDialog.h.
te::sa::SamplePointsGeneratorDialog::SamplePointsGeneratorDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 59 of file SamplePointsGeneratorDialog.cpp.
References fillGeneratorTypes(), m_ui, onInputLayerComboBoxActivated(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
te::sa::SamplePointsGeneratorDialog::~SamplePointsGeneratorDialog | ( | ) |
Definition at line 87 of file SamplePointsGeneratorDialog.cpp.
|
protected |
Definition at line 340 of file SamplePointsGeneratorDialog.cpp.
References te::sa::Random, and te::sa::Stratified.
Referenced by SamplePointsGeneratorDialog().
te::map::AbstractLayerPtr te::sa::SamplePointsGeneratorDialog::getOutputLayer | ( | ) |
Definition at line 115 of file SamplePointsGeneratorDialog.cpp.
Referenced by te::qt::plugins::sa::SamplePointsGeneratorAction::onActionActivated().
|
protectedslot |
Definition at line 120 of file SamplePointsGeneratorDialog.cpp.
References te::dt::STRING_TYPE.
Referenced by SamplePointsGeneratorDialog().
|
protectedslot |
Definition at line 141 of file SamplePointsGeneratorDialog.cpp.
References te::common::ProgressManager::addViewer(), te::sa::CreateLayer(), te::sa::CreateOGRDataSource(), te::sa::CreateSampleGeneratorStratifiedGrouping(), te::sa::SamplePointsGeneratorAbstract::execute(), te::da::GetDataSource(), te::da::GetFirstGeomProperty(), te::common::Singleton< ProgressManager >::getInstance(), te::gm::GeometryProperty::getSRID(), te::sa::Random, te::common::ProgressManager::removeViewer(), te::sa::SamplePointsGeneratorAbstract::setEnvelope(), te::sa::SamplePointsGeneratorAbstract::setOutputDataSetName(), te::sa::SamplePointsGeneratorAbstract::setOutputDataSource(), te::sa::SamplePointsGeneratorAbstract::setSRID(), and te::sa::Stratified.
Referenced by SamplePointsGeneratorDialog().
|
protectedslot |
Definition at line 297 of file SamplePointsGeneratorDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by SamplePointsGeneratorDialog().
|
protectedslot |
Definition at line 319 of file SamplePointsGeneratorDialog.cpp.
Referenced by SamplePointsGeneratorDialog().
void te::sa::SamplePointsGeneratorDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
layers | List of AbstractLayerPtr |
Definition at line 91 of file SamplePointsGeneratorDialog.cpp.
Referenced by te::qt::plugins::sa::SamplePointsGeneratorAction::onActionActivated().
|
private |
Definition at line 86 of file SamplePointsGeneratorDialog.h.
|
private |
Generated Layer.
Definition at line 88 of file SamplePointsGeneratorDialog.h.
|
private |
Definition at line 90 of file SamplePointsGeneratorDialog.h.
|
private |
Definition at line 84 of file SamplePointsGeneratorDialog.h.
Referenced by SamplePointsGeneratorDialog().