This class is used to make post classification. More...
#include <PostClassificationWidget.h>
Signals | |
| void | addLayer (te::map::AbstractLayerPtr layer) |
Public Member Functions | |
| bool | execute () |
| Ui::PostClassificationWidgetForm * | getForm () const |
| PostClassificationWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
| ~PostClassificationWidget () | |
Protected Slots | |
| void | thresholdSliderValueChanged (int value) |
| void | weightSliderValueChanged (int value) |
Private Attributes | |
| te::qt::widgets::InputLayerWidget * | m_inputWidget |
| te::map::AbstractLayerPtr | m_layer |
| te::map::AbstractLayerPtr | m_outputLayer |
| te::qt::widgets::OutputRasterWidget * | m_outputWidget |
| std::unique_ptr< Ui::PostClassificationWidgetForm > | m_ui |
This class is used to make post classification.
Definition at line 58 of file PostClassificationWidget.h.
| te::qt::widgets::PostClassificationWidget::PostClassificationWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 47 of file PostClassificationWidget.cpp.
References m_inputWidget, m_outputWidget, m_ui, thresholdSliderValueChanged(), weightSliderValueChanged(), and ~PostClassificationWidget().
|
default |
Referenced by PostClassificationWidget().
|
signal |
Referenced by execute().
| bool te::qt::widgets::PostClassificationWidget::execute | ( | ) |
Definition at line 111 of file PostClassificationWidget.cpp.
References addLayer(), te::qt::widgets::createLayer(), ds, te::rp::PostClassification::execute(), te::rp::Algorithm::getErrorMessage(), te::da::GetFirstPropertyPos(), te::qt::widgets::OutputRasterWidget::getInfo(), te::qt::widgets::OutputRasterWidget::getOutputRaster(), te::qt::widgets::OutputRasterWidget::getType(), te::rp::PostClassification::initialize(), te::rp::PostClassification::InputParameters::m_inRasterPtr, m_layer, m_outputLayer, m_outputWidget, te::rp::PostClassification::OutputParameters::m_rInfo, te::rp::PostClassification::OutputParameters::m_rType, te::rp::PostClassification::InputParameters::m_threshold, m_ui, te::rp::PostClassification::InputParameters::m_weight, te::dt::RASTER_TYPE, and te::rp::PostClassification::OutputParameters::reset().
Referenced by te::qt::widgets::PostClassificationDialogForm::onOkPushButtonClicked().
| Ui::PostClassificationWidgetForm * te::qt::widgets::PostClassificationWidget::getForm | ( | ) | const |
Definition at line 77 of file PostClassificationWidget.cpp.
References m_ui.
| void te::qt::widgets::PostClassificationWidget::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 82 of file PostClassificationWidget.cpp.
References te::se::RasterSymbolizer::getColorMap(), te::se::GetRasterSymbolizer(), m_inputWidget, m_layer, and te::qt::widgets::InputLayerWidget::setLayerList().
Referenced by te::qt::widgets::PostClassificationDialogForm::setList().
|
protectedslot |
Definition at line 196 of file PostClassificationWidget.cpp.
References te::common::Convert2String(), and m_ui.
Referenced by PostClassificationWidget().
|
protectedslot |
Definition at line 191 of file PostClassificationWidget.cpp.
References te::common::Convert2String(), and m_ui.
Referenced by PostClassificationWidget().
|
private |
Definition at line 89 of file PostClassificationWidget.h.
Referenced by PostClassificationWidget(), and setList().
|
private |
Definition at line 87 of file PostClassificationWidget.h.
|
private |
Definition at line 88 of file PostClassificationWidget.h.
Referenced by execute().
|
private |
Definition at line 90 of file PostClassificationWidget.h.
Referenced by execute(), and PostClassificationWidget().
|
private |
Definition at line 86 of file PostClassificationWidget.h.
Referenced by execute(), getForm(), PostClassificationWidget(), thresholdSliderValueChanged(), and weightSliderValueChanged().