#include <SlopeDialog.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) |
| SlopeDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~SlopeDialog () | |
Protected Slots | |
| void | onAspectToggled () |
| void | onCancelPushButtonClicked () |
| void | onDimCLineEditEditingFinished () |
| void | onDimLLineEditEditingFinished () |
| void | onInputComboBoxChanged (int index) |
| void | onInputLayerToolButtonClicked () |
| void | onOkPushButtonClicked () |
| void | onResXLineEditEditingFinished () |
| void | onResYLineEditEditingFinished () |
| void | onSlopeToggled () |
| void | onSrsToolButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Private Attributes | |
| 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... | |
| 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 |
| std::unique_ptr< Ui::SlopeDialogForm > | m_ui |
Definition at line 50 of file SlopeDialog.h.
| te::mnt::SlopeDialog::SlopeDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 66 of file SlopeDialog.cpp.
References m_outsrid, m_ui, onAspectToggled(), onCancelPushButtonClicked(), onDimCLineEditEditingFinished(), onDimLLineEditEditingFinished(), onInputComboBoxChanged(), onInputLayerToolButtonClicked(), onOkPushButtonClicked(), onResXLineEditEditingFinished(), onResYLineEditEditingFinished(), onSlopeToggled(), onSrsToolButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and ~SlopeDialog().
|
default |
Referenced by SlopeDialog().
| te::map::AbstractLayerPtr te::mnt::SlopeDialog::getLayer | ( | ) |
Definition at line 201 of file SlopeDialog.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::mnt::SlopeAction::onActionActivated().
|
protectedslot |
|
protectedslot |
Definition at line 425 of file SlopeDialog.cpp.
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 270 of file SlopeDialog.cpp.
References te::gm::Envelope::isValid(), m_inputLayer, te::gm::Envelope::m_lly, m_ui, and te::gm::Envelope::m_ury.
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 253 of file SlopeDialog.cpp.
References te::gm::Envelope::isValid(), m_inputLayer, te::gm::Envelope::m_llx, m_ui, and te::gm::Envelope::m_urx.
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 155 of file SlopeDialog.cpp.
References te::map::GetRaster(), te::mnt::GRID, m_inputLayer, m_inputType, m_layers, m_ui, setSRID(), and te::mnt::TIN.
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 138 of file SlopeDialog.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 SlopeDialog().
|
protectedslot |
Definition at line 329 of file SlopeDialog.cpp.
References te::qt::widgets::applyRasterMultiResolution(), b, te::qt::widgets::createLayer(), te::core::FileSystem::exists(), te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::rp::Contrast::getGainAndOffset(), te::mnt::getMinMax(), te::map::GetRaster(), te::map::RasterTransform::LINEAR_CONTRAST, te::rp::Contrast::InputParameters::LinearContrastT, m_inputLayer, m_outputLayer, m_outsrid, m_ui, mixture::rst, te::mnt::Slope::run(), te::mnt::Slope::setInput(), te::mnt::Slope::setOutput(), te::mnt::Slope::setParams(), TE_TR, and te::common::Exception::what().
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 219 of file SlopeDialog.cpp.
References te::gm::Envelope::isValid(), m_inputLayer, te::gm::Envelope::m_llx, m_ui, and te::gm::Envelope::m_urx.
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 236 of file SlopeDialog.cpp.
References te::gm::Envelope::isValid(), m_inputLayer, te::gm::Envelope::m_lly, m_ui, and te::gm::Envelope::m_ury.
Referenced by SlopeDialog().
|
protectedslot |
|
protectedslot |
Definition at line 430 of file SlopeDialog.cpp.
References te::qt::widgets::SRSManagerDialog::getSelectedSRS(), and setSRID().
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 309 of file SlopeDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, and m_ui.
Referenced by SlopeDialog().
|
protectedslot |
Definition at line 287 of file SlopeDialog.cpp.
References te::qt::widgets::FileDialog::exec(), te::qt::widgets::FileDialog::getFileName(), te::qt::widgets::FileDialog::getPath(), m_ui, and te::qt::widgets::FileDialog::RASTER.
Referenced by SlopeDialog().
| void te::mnt::SlopeDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 112 of file SlopeDialog.cpp.
References te::mnt::getMNTType(), te::mnt::GRID, m_layers, m_ui, and te::mnt::TIN.
Referenced by te::qt::plugins::mnt::SlopeAction::onActionActivated().
| void te::mnt::SlopeDialog::setSRID | ( | int | newSRID | ) |
Definition at line 443 of file SlopeDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), m_outsrid, and m_ui.
Referenced by onInputComboBoxChanged(), and onSrsToolButtonClicked().
|
private |
Input layer.
Definition at line 92 of file SlopeDialog.h.
Referenced by onDimCLineEditEditingFinished(), onDimLLineEditEditingFinished(), onInputComboBoxChanged(), onOkPushButtonClicked(), onResXLineEditEditingFinished(), and onResYLineEditEditingFinished().
|
private |
Input type (TIN, GRID)
Definition at line 95 of file SlopeDialog.h.
Referenced by onInputComboBoxChanged().
|
private |
List of layers.
Definition at line 91 of file SlopeDialog.h.
Referenced by onInputComboBoxChanged(), onInputLayerToolButtonClicked(), and setLayers().
|
private |
Archive information.
Definition at line 90 of file SlopeDialog.h.
|
private |
DataSource information.
Definition at line 89 of file SlopeDialog.h.
Referenced by onTargetDatasourceToolButtonPressed().
|
private |
Generated Layer.
Definition at line 93 of file SlopeDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 97 of file SlopeDialog.h.
Referenced by onOkPushButtonClicked(), setSRID(), and SlopeDialog().
|
private |
Definition at line 87 of file SlopeDialog.h.
Referenced by onAspectToggled(), onDimCLineEditEditingFinished(), onDimLLineEditEditingFinished(), onInputComboBoxChanged(), onInputLayerToolButtonClicked(), onOkPushButtonClicked(), onResXLineEditEditingFinished(), onResYLineEditEditingFinished(), onSlopeToggled(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), setLayers(), setSRID(), and SlopeDialog().