#include <TINGenerationDialog.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getLayer () |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| void | setSRID (int newSRID) |
| TINGenerationDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~TINGenerationDialog () | |
Protected Slots | |
| void | onBreakLinesComboBoxChanged (int index) |
| void | onCancelPushButtonClicked () |
| void | onInputBreaklineToolButtonClicked () |
| void | onInputIsolinesToolButtonClicked () |
| void | onInputSamplesToolButtonClicked () |
| void | onIsolinesComboBoxChanged (int index) |
| void | onNoToggled () |
| void | onOkPushButtonClicked () |
| void | onSamplesComboBoxChanged (int index) |
| void | onScalePushButtonClicked () |
| void | onSrsToolButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
| void | onYesToggled () |
Private Attributes | |
| te::da::DataSourcePtr | m_breakDataSource |
| BreakLines DataSourcePtr. More... | |
| te::map::AbstractLayerPtr | m_breaklinesLayer |
| BreakLines layer. More... | |
| std::string | m_breakSetName |
| BreakLines DataSetLayer name. More... | |
| double | m_breaktol |
| Triangulation breaklines simplification tolerance. More... | |
| double | m_distance |
| Triangulation lines simplification maximum distance. More... | |
| double | m_edgeSize |
| Triangulation edges minimum size. More... | |
| te::da::DataSourcePtr | m_isolinesDataSource |
| Isolines DataSourcePtr. More... | |
| te::map::AbstractLayerPtr | m_isolinesLayer |
| Isolines layer. More... | |
| std::string | m_isoSetName |
| Isolines DataSetLayer name. More... | |
| int | m_isosrid |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| std::string | m_outputArchive |
| Archive information. More... | |
| te::da::DataSourceInfoPtr | m_outputDatasource |
| DataSource information. More... | |
| te::map::AbstractLayerPtr | m_outputLayer |
| Generated Layer. More... | |
| int | m_outsrid |
| te::da::DataSourcePtr | m_samplesDataSource |
| Samples DataSourcePtr. More... | |
| std::string | m_sampleSetName |
| Samples DataSetLayer name. More... | |
| te::map::AbstractLayerPtr | m_samplesLayer |
| Points layer. More... | |
| int | m_samplesrid |
| double | m_scale |
| Triangulation scale. More... | |
| bool | m_toFile |
| double | m_tol |
| Triangulation lines simplification tolerance. More... | |
| std::unique_ptr< Ui::TINGenerationDialogForm > | m_ui |
Definition at line 51 of file TINGenerationDialog.h.
| te::mnt::TINGenerationDialog::TINGenerationDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 62 of file TINGenerationDialog.cpp.
References m_isosrid, m_outsrid, m_samplesrid, m_ui, onBreakLinesComboBoxChanged(), onCancelPushButtonClicked(), onInputBreaklineToolButtonClicked(), onInputIsolinesToolButtonClicked(), onInputSamplesToolButtonClicked(), onIsolinesComboBoxChanged(), onNoToggled(), onOkPushButtonClicked(), onSamplesComboBoxChanged(), onScalePushButtonClicked(), onSrsToolButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), onYesToggled(), and ~TINGenerationDialog().
|
default |
Referenced by TINGenerationDialog().
| te::map::AbstractLayerPtr te::mnt::TINGenerationDialog::getLayer | ( | ) |
Definition at line 604 of file TINGenerationDialog.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::mnt::TINGenerationAction::onActionActivated().
|
protectedslot |
Definition at line 346 of file TINGenerationDialog.cpp.
References m_breaklinesLayer, m_layers, and m_ui.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 599 of file TINGenerationDialog.cpp.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 362 of file TINGenerationDialog.cpp.
References te::mnt::LayerSearchDialog::getLayer(), te::mnt::ISOLINE, m_layers, m_ui, te::mnt::LayerSearchDialog::setActive(), and te::mnt::LayerSearchDialog::setLayers().
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 139 of file TINGenerationDialog.cpp.
References te::mnt::LayerSearchDialog::getLayer(), te::mnt::ISOLINE, m_layers, m_ui, te::mnt::LayerSearchDialog::setActive(), and te::mnt::LayerSearchDialog::setLayers().
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 228 of file TINGenerationDialog.cpp.
References te::mnt::LayerSearchDialog::getLayer(), m_layers, m_ui, te::mnt::SAMPLE, te::mnt::LayerSearchDialog::setActive(), and te::mnt::LayerSearchDialog::setLayers().
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 156 of file TINGenerationDialog.cpp.
References te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::GEOMETRY_TYPE, te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::da::GetFirstPropertyPos(), te::map::AbstractLayer::getSRID(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, m_isolinesDataSource, m_isolinesLayer, m_isoSetName, m_isosrid, m_layers, m_ui, te::dt::NUMERIC_TYPE, setSRID(), TE_TR, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 337 of file TINGenerationDialog.cpp.
References m_ui.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 423 of file TINGenerationDialog.cpp.
References te::mnt::convertPlanarToAngle(), ds, dt, te::core::FileSystem::exists(), te::common::UnitsOfMeasureManager::find(), te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), te::common::Singleton< UnitsOfMeasureManager >::getInstance(), te::mnt::Isolines, m_breaklinesLayer, m_breaktol, m_distance, m_edgeSize, m_isolinesDataSource, m_isolinesLayer, m_isoSetName, m_isosrid, m_outputDatasource, m_outputLayer, m_outsrid, m_samplesDataSource, m_sampleSetName, m_samplesLayer, m_samplesrid, m_toFile, m_tol, m_ui, te::da::DataSourceFactory::make(), te::mnt::TINGeneration::run(), te::mnt::Samples, te::mnt::TINGeneration::setBreakLine(), te::mnt::TINGeneration::setInput(), te::mnt::TINGeneration::setMethod(), te::mnt::TINGeneration::setOutput(), te::mnt::TINGeneration::setParams(), te::mnt::Tin::setSRID(), TE_TR, and te::common::UOM_Metre.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 245 of file TINGenerationDialog.cpp.
References te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::GEOMETRY_TYPE, te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::da::GetFirstPropertyPos(), te::map::AbstractLayer::getSRID(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, m_layers, m_samplesDataSource, m_sampleSetName, m_samplesLayer, m_samplesrid, m_ui, te::dt::NUMERIC_TYPE, setSRID(), TE_TR, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 315 of file TINGenerationDialog.cpp.
References m_breaktol, m_distance, m_edgeSize, m_scale, m_tol, and m_ui.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 609 of file TINGenerationDialog.cpp.
References te::qt::widgets::SRSManagerDialog::getSelectedSRS(), and setSRID().
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 379 of file TINGenerationDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 400 of file TINGenerationDialog.cpp.
References te::qt::widgets::FileDialog::exec(), te::qt::widgets::FileDialog::getFileName(), te::qt::widgets::FileDialog::getPath(), m_toFile, m_ui, and te::qt::widgets::FileDialog::VECTOR.
Referenced by TINGenerationDialog().
|
protectedslot |
Definition at line 329 of file TINGenerationDialog.cpp.
References m_ui.
Referenced by TINGenerationDialog().
| void te::mnt::TINGenerationDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 110 of file TINGenerationDialog.cpp.
References te::mnt::getMNTType(), te::mnt::ISOLINE, m_layers, m_ui, and te::mnt::SAMPLE.
Referenced by te::qt::plugins::mnt::TINGenerationAction::onActionActivated().
| void te::mnt::TINGenerationDialog::setSRID | ( | int | newSRID | ) |
Definition at line 623 of file TINGenerationDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), m_outsrid, and m_ui.
Referenced by onIsolinesComboBoxChanged(), onSamplesComboBoxChanged(), and onSrsToolButtonClicked().
|
private |
BreakLines DataSourcePtr.
Definition at line 101 of file TINGenerationDialog.h.
|
private |
BreakLines layer.
Definition at line 97 of file TINGenerationDialog.h.
Referenced by onBreakLinesComboBoxChanged(), and onOkPushButtonClicked().
|
private |
BreakLines DataSetLayer name.
Definition at line 104 of file TINGenerationDialog.h.
|
private |
Triangulation breaklines simplification tolerance.
Definition at line 107 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onScalePushButtonClicked().
|
private |
Triangulation lines simplification maximum distance.
Definition at line 108 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onScalePushButtonClicked().
|
private |
Triangulation edges minimum size.
Definition at line 109 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onScalePushButtonClicked().
|
private |
Isolines DataSourcePtr.
Definition at line 99 of file TINGenerationDialog.h.
Referenced by onIsolinesComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Isolines layer.
Definition at line 95 of file TINGenerationDialog.h.
Referenced by onIsolinesComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Isolines DataSetLayer name.
Definition at line 102 of file TINGenerationDialog.h.
Referenced by onIsolinesComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Definition at line 111 of file TINGenerationDialog.h.
Referenced by onIsolinesComboBoxChanged(), onOkPushButtonClicked(), and TINGenerationDialog().
|
private |
List of layers.
Definition at line 94 of file TINGenerationDialog.h.
Referenced by onBreakLinesComboBoxChanged(), onInputBreaklineToolButtonClicked(), onInputIsolinesToolButtonClicked(), onInputSamplesToolButtonClicked(), onIsolinesComboBoxChanged(), onSamplesComboBoxChanged(), and setLayers().
|
private |
Archive information.
Definition at line 92 of file TINGenerationDialog.h.
|
private |
DataSource information.
Definition at line 91 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Generated Layer.
Definition at line 98 of file TINGenerationDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 113 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), setSRID(), and TINGenerationDialog().
|
private |
Samples DataSourcePtr.
Definition at line 100 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onSamplesComboBoxChanged().
|
private |
Samples DataSetLayer name.
Definition at line 103 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onSamplesComboBoxChanged().
|
private |
Points layer.
Definition at line 96 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onSamplesComboBoxChanged().
|
private |
Definition at line 112 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), onSamplesComboBoxChanged(), and TINGenerationDialog().
|
private |
Triangulation scale.
Definition at line 105 of file TINGenerationDialog.h.
Referenced by onScalePushButtonClicked().
|
private |
Definition at line 93 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Triangulation lines simplification tolerance.
Definition at line 106 of file TINGenerationDialog.h.
Referenced by onOkPushButtonClicked(), and onScalePushButtonClicked().
|
private |
Definition at line 89 of file TINGenerationDialog.h.
Referenced by onBreakLinesComboBoxChanged(), onInputBreaklineToolButtonClicked(), onInputIsolinesToolButtonClicked(), onInputSamplesToolButtonClicked(), onIsolinesComboBoxChanged(), onNoToggled(), onOkPushButtonClicked(), onSamplesComboBoxChanged(), onScalePushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), onYesToggled(), setLayers(), setSRID(), and TINGenerationDialog().