#include <SmoothIsolinesDialog.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) |
| SmoothIsolinesDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~SmoothIsolinesDialog () | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onInputComboBoxChanged (int index) |
| void | onInputLayerToolButtonClicked () |
| void | onOkPushButtonClicked () |
| void | onScalePushButtonClicked () |
| void | onSrsToolButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Private Attributes | |
| double | m_factor |
| te::map::AbstractLayerPtr | m_inputLayer |
| Input layer. More... | |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| double | m_maxdist |
| 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 |
| double | m_scale |
| bool | m_toFile |
| std::unique_ptr< Ui::SmoothIsolinesDialogForm > | m_ui |
Definition at line 50 of file SmoothIsolinesDialog.h.
| te::mnt::SmoothIsolinesDialog::SmoothIsolinesDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 63 of file SmoothIsolinesDialog.cpp.
References m_outsrid, m_ui, onCancelPushButtonClicked(), onInputComboBoxChanged(), onInputLayerToolButtonClicked(), onOkPushButtonClicked(), onScalePushButtonClicked(), onSrsToolButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and ~SmoothIsolinesDialog().
|
default |
Referenced by SmoothIsolinesDialog().
| te::map::AbstractLayerPtr te::mnt::SmoothIsolinesDialog::getLayer | ( | ) |
Definition at line 168 of file SmoothIsolinesDialog.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::mnt::SmoothAction::onActionActivated().
|
protectedslot |
Definition at line 355 of file SmoothIsolinesDialog.cpp.
Referenced by SmoothIsolinesDialog().
|
protectedslot |
Definition at line 135 of file SmoothIsolinesDialog.cpp.
References m_inputLayer, m_layers, m_ui, and setSRID().
Referenced by SmoothIsolinesDialog().
|
protectedslot |
Definition at line 118 of file SmoothIsolinesDialog.cpp.
References te::mnt::LayerSearchDialog::getLayer(), te::mnt::ISOLINE, m_layers, m_ui, te::mnt::LayerSearchDialog::setActive(), and te::mnt::LayerSearchDialog::setLayers().
Referenced by SmoothIsolinesDialog().
|
protectedslot |
Definition at line 218 of file SmoothIsolinesDialog.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< UnitsOfMeasureManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), m_factor, m_inputLayer, m_maxdist, m_outputDatasource, m_outputLayer, m_outsrid, m_toFile, m_ui, te::da::DataSourceFactory::make(), te::mnt::Smooth::run(), te::mnt::Smooth::setInput(), te::mnt::Smooth::setOutput(), te::mnt::Smooth::setParams(), te::mnt::Smooth::setSRID(), TE_TR, and te::common::UOM_Metre.
Referenced by SmoothIsolinesDialog().
|
protectedslot |
Definition at line 157 of file SmoothIsolinesDialog.cpp.
References m_factor, m_maxdist, m_scale, and m_ui.
Referenced by SmoothIsolinesDialog().
|
protectedslot |
Definition at line 360 of file SmoothIsolinesDialog.cpp.
References te::qt::widgets::SRSManagerDialog::getSelectedSRS(), and setSRID().
Referenced by SmoothIsolinesDialog().
|
protectedslot |
Definition at line 174 of file SmoothIsolinesDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
Referenced by SmoothIsolinesDialog().
|
protectedslot |
Definition at line 195 of file SmoothIsolinesDialog.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 SmoothIsolinesDialog().
| void te::mnt::SmoothIsolinesDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 95 of file SmoothIsolinesDialog.cpp.
References te::mnt::getMNTType(), te::mnt::ISOLINE, m_layers, and m_ui.
Referenced by te::qt::plugins::mnt::SmoothAction::onActionActivated().
| void te::mnt::SmoothIsolinesDialog::setSRID | ( | int | newSRID | ) |
Definition at line 374 of file SmoothIsolinesDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), m_outsrid, and m_ui.
Referenced by onInputComboBoxChanged(), and onSrsToolButtonClicked().
|
private |
Definition at line 92 of file SmoothIsolinesDialog.h.
Referenced by onOkPushButtonClicked(), and onScalePushButtonClicked().
|
private |
Input layer.
Definition at line 88 of file SmoothIsolinesDialog.h.
Referenced by onInputComboBoxChanged(), and onOkPushButtonClicked().
|
private |
List of layers.
Definition at line 87 of file SmoothIsolinesDialog.h.
Referenced by onInputComboBoxChanged(), onInputLayerToolButtonClicked(), and setLayers().
|
private |
Definition at line 93 of file SmoothIsolinesDialog.h.
Referenced by onOkPushButtonClicked(), and onScalePushButtonClicked().
|
private |
Archive information.
Definition at line 85 of file SmoothIsolinesDialog.h.
|
private |
DataSource information.
Definition at line 84 of file SmoothIsolinesDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Generated Layer.
Definition at line 89 of file SmoothIsolinesDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 95 of file SmoothIsolinesDialog.h.
Referenced by onOkPushButtonClicked(), setSRID(), and SmoothIsolinesDialog().
|
private |
Definition at line 91 of file SmoothIsolinesDialog.h.
Referenced by onScalePushButtonClicked().
|
private |
Definition at line 86 of file SmoothIsolinesDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 82 of file SmoothIsolinesDialog.h.
Referenced by onInputComboBoxChanged(), onInputLayerToolButtonClicked(), onOkPushButtonClicked(), onScalePushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), setLayers(), setSRID(), and SmoothIsolinesDialog().