#include <CreateIsolinesDialog.h>
Public Member Functions | |
| CreateIsolinesDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| te::map::AbstractLayerPtr | getLayer () |
| void | getMinMax (te::map::AbstractLayerPtr inputLayer, double &min, double &max) |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| void | setSRID (int newSRID) |
| ~CreateIsolinesDialog () | |
Protected Slots | |
| void | on_stepVariableraEnabled (bool) |
| void | onCancelPushButtonClicked () |
| void | ondeleteallpushButtonClicked () |
| void | ondeletepushButtonClicked () |
| void | onDummyLineEditEditingFinished () |
| void | onInputComboBoxChanged (int index) |
| void | onInputLayerToolButtonClicked () |
| void | oninsertpushButtonClicked () |
| void | onOkPushButtonClicked () |
| void | onSrsToolButtonClicked () |
| void | onStepFixeEnabled (bool) |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Private Attributes | |
| double | m_dummy |
| bool | m_hasDummy |
| te::map::AbstractLayerPtr | m_inputLayer |
| Input layer. More... | |
| mntType | m_inputType |
| Input type (TIN, GRID) More... | |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| double | m_max |
| double | m_min |
| 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 |
| bool | m_toFile |
| std::unique_ptr< Ui::CreateIsolinesDialogForm > | m_ui |
Definition at line 52 of file CreateIsolinesDialog.h.
| te::mnt::CreateIsolinesDialog::CreateIsolinesDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 64 of file CreateIsolinesDialog.cpp.
References m_outsrid, m_ui, on_stepVariableraEnabled(), onCancelPushButtonClicked(), ondeleteallpushButtonClicked(), ondeletepushButtonClicked(), onDummyLineEditEditingFinished(), onInputComboBoxChanged(), onInputLayerToolButtonClicked(), oninsertpushButtonClicked(), onOkPushButtonClicked(), onSrsToolButtonClicked(), onStepFixeEnabled(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and ~CreateIsolinesDialog().
|
default |
Referenced by CreateIsolinesDialog().
| te::map::AbstractLayerPtr te::mnt::CreateIsolinesDialog::getLayer | ( | ) |
Definition at line 469 of file CreateIsolinesDialog.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::mnt::CreateIsolinesAction::onActionActivated().
| void te::mnt::CreateIsolinesDialog::getMinMax | ( | te::map::AbstractLayerPtr | inputLayer, |
| double & | min, | ||
| double & | max | ||
| ) |
Definition at line 191 of file CreateIsolinesDialog.cpp.
References ds, te::dt::GEOMETRY_TYPE, te::da::GetDataSource(), te::da::GetFirstPropertyPos(), te::gm::LineString::getZ(), m_inputLayer, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::MultiSurfaceMType, te::gm::MultiSurfaceType, te::gm::MultiSurfaceZMType, te::gm::MultiSurfaceZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, te::gm::PolyhedralSurfaceMType, te::gm::PolyhedralSurfaceType, te::gm::PolyhedralSurfaceZMType, te::gm::PolyhedralSurfaceZType, TE_TR, te::gm::TINMType, te::gm::TINType, te::gm::TINZMType, te::gm::TINZType, te::gm::TriangleMType, te::gm::TriangleType, te::gm::TriangleZMType, te::gm::TriangleZType, and te::common::Exception::what().
Referenced by onInputComboBoxChanged().
|
protectedslot |
Definition at line 404 of file CreateIsolinesDialog.cpp.
References m_ui.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 464 of file CreateIsolinesDialog.cpp.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 459 of file CreateIsolinesDialog.cpp.
References m_ui.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 452 of file CreateIsolinesDialog.cpp.
References m_ui.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 374 of file CreateIsolinesDialog.cpp.
References te::da::GetFirstPropertyPos(), te::mnt::GRID, m_dummy, m_hasDummy, m_inputLayer, m_inputType, m_max, m_min, m_ui, and te::dt::RASTER_TYPE.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 320 of file CreateIsolinesDialog.cpp.
References te::da::GetFirstPropertyPos(), getMinMax(), te::mnt::getMinMax(), te::mnt::GRID, m_dummy, m_inputLayer, m_inputType, m_layers, m_max, m_min, m_ui, te::dt::RASTER_TYPE, setSRID(), te::mnt::TIN, and te::common::Exception::what().
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 303 of file CreateIsolinesDialog.cpp.
References te::mnt::LayerSearchDialog::getLayer(), te::mnt::GRID, m_layers, m_ui, te::mnt::LayerSearchDialog::setActive(), te::mnt::LayerSearchDialog::setLayers(), and te::mnt::TIN.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 418 of file CreateIsolinesDialog.cpp.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 519 of file CreateIsolinesDialog.cpp.
References CreateIsolines(), ds, dt, te::core::FileSystem::exists(), te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::mnt::CreateIsolines::getPrepareRaster(), te::mnt::GRID, m_dummy, m_hasDummy, m_inputLayer, m_inputType, m_max, m_min, m_outputDatasource, m_outputLayer, m_outsrid, m_toFile, m_ui, te::da::DataSourceFactory::make(), te::mnt::TINCreateIsolines::run(), te::mnt::CreateIsolines::run(), te::mnt::TINCreateIsolines::setInput(), te::mnt::CreateIsolines::setInput(), te::mnt::TINCreateIsolines::setOutput(), te::mnt::CreateIsolines::setOutput(), te::mnt::TINCreateIsolines::setParams(), te::mnt::CreateIsolines::setParams(), te::mnt::Tin::setSRID(), and TE_TR.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 704 of file CreateIsolinesDialog.cpp.
References te::qt::widgets::SRSManagerDialog::getSelectedSRS(), and setSRID().
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 391 of file CreateIsolinesDialog.cpp.
References m_ui.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 475 of file CreateIsolinesDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
Referenced by CreateIsolinesDialog().
|
protectedslot |
Definition at line 496 of file CreateIsolinesDialog.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 CreateIsolinesDialog().
| void te::mnt::CreateIsolinesDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Definition at line 115 of file CreateIsolinesDialog.cpp.
References te::rst::RasterProperty::getBandProperties(), te::da::GetFirstRasterProperty(), te::mnt::getMNTType(), te::mnt::GRID, m_layers, m_ui, and te::mnt::TIN.
Referenced by te::qt::plugins::mnt::CreateIsolinesAction::onActionActivated().
| void te::mnt::CreateIsolinesDialog::setSRID | ( | int | newSRID | ) |
Definition at line 718 of file CreateIsolinesDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), m_outsrid, and m_ui.
Referenced by onInputComboBoxChanged(), and onSrsToolButtonClicked().
|
private |
Definition at line 99 of file CreateIsolinesDialog.h.
Referenced by onDummyLineEditEditingFinished(), onInputComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Definition at line 101 of file CreateIsolinesDialog.h.
Referenced by onDummyLineEditEditingFinished(), and onOkPushButtonClicked().
|
private |
Input layer.
Definition at line 93 of file CreateIsolinesDialog.h.
Referenced by getMinMax(), onDummyLineEditEditingFinished(), onInputComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Input type (TIN, GRID)
Definition at line 96 of file CreateIsolinesDialog.h.
Referenced by onDummyLineEditEditingFinished(), onInputComboBoxChanged(), and onOkPushButtonClicked().
|
private |
List of layers.
Definition at line 92 of file CreateIsolinesDialog.h.
Referenced by onInputComboBoxChanged(), onInputLayerToolButtonClicked(), and setLayers().
|
private |
Definition at line 98 of file CreateIsolinesDialog.h.
Referenced by onDummyLineEditEditingFinished(), onInputComboBoxChanged(), oninsertpushButtonClicked(), and onOkPushButtonClicked().
|
private |
Definition at line 97 of file CreateIsolinesDialog.h.
Referenced by onDummyLineEditEditingFinished(), onInputComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Archive information.
Definition at line 91 of file CreateIsolinesDialog.h.
|
private |
DataSource information.
Definition at line 90 of file CreateIsolinesDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Generated Layer.
Definition at line 94 of file CreateIsolinesDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 102 of file CreateIsolinesDialog.h.
Referenced by CreateIsolinesDialog(), onOkPushButtonClicked(), and setSRID().
|
private |
Definition at line 100 of file CreateIsolinesDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 88 of file CreateIsolinesDialog.h.
Referenced by CreateIsolinesDialog(), on_stepVariableraEnabled(), ondeleteallpushButtonClicked(), ondeletepushButtonClicked(), onDummyLineEditEditingFinished(), onInputComboBoxChanged(), onInputLayerToolButtonClicked(), oninsertpushButtonClicked(), onOkPushButtonClicked(), onStepFixeEnabled(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), setLayers(), and setSRID().