This class is GUI used to define the classifier parameters for the RP constast operation. More...
#include <ClassifierWizardPage.h>
Classes | |
struct | ClassifierSamples |
Public Slots | |
void | onGeomAquired (te::gm::Polygon *poly, te::qt::widgets::MapDisplay *map) |
void | onItemChanged (QTableWidgetItem *item) |
void | onMapDisplayExtentChanged () |
void | onRemoveToolButtonClicked () |
Public Member Functions | |
ClassifierWizardPage (QWidget *parent=0) | |
te::rp::Classifier::InputParameters | getInputParams () |
te::rp::Classifier::OutputParameters | getOutputParams () |
void | set (te::map::AbstractLayerPtr layer) |
This method is used to set the selected layer for classifier operation. More... | |
~ClassifierWizardPage () | |
Protected Member Functions | |
void | drawSamples () |
void | fillClassifierTypes () |
void | listBands () |
void | updateSamples () |
Private Types | |
enum | ClassifierTypes { CLASSIFIER_ISOSEG } |
Private Attributes | |
unsigned int | m_countSamples |
The maximum number of samples inserted. More... | |
te::qt::widgets::MapDisplay * | m_display |
te::map::AbstractLayerPtr | m_layer |
std::map< std::string, ClassifierSamples > | m_samples |
The map of selected samples. More... | |
std::auto_ptr < Ui::ClassifierWizardPageForm > | m_ui |
This class is GUI used to define the classifier parameters for the RP constast operation.
Definition at line 58 of file ClassifierWizardPage.h.
Enumerator | |
---|---|
CLASSIFIER_ISOSEG |
Definition at line 62 of file ClassifierWizardPage.h.
te::qt::widgets::ClassifierWizardPage::ClassifierWizardPage | ( | QWidget * | parent = 0 | ) |
Definition at line 49 of file ClassifierWizardPage.cpp.
References fillClassifierTypes(), m_ui, onItemChanged(), and onRemoveToolButtonClicked().
te::qt::widgets::ClassifierWizardPage::~ClassifierWizardPage | ( | ) |
Definition at line 72 of file ClassifierWizardPage.cpp.
|
protected |
Definition at line 179 of file ClassifierWizardPage.cpp.
References te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::qt::widgets::Canvas::setWindow(), and TE_OPAQUE.
|
protected |
Definition at line 147 of file ClassifierWizardPage.cpp.
Referenced by ClassifierWizardPage().
te::rp::Classifier::InputParameters te::qt::widgets::ClassifierWizardPage::getInputParams | ( | ) |
Definition at line 93 of file ClassifierWizardPage.cpp.
References te::rp::ClassifierISOSegStrategy::Parameters::m_acceptanceThreshold, te::rp::Classifier::InputParameters::m_inputPolygons, te::rp::Classifier::InputParameters::m_inputRasterBands, te::rp::Classifier::InputParameters::m_strategyName, and te::rp::Classifier::InputParameters::setClassifierStrategyParams().
te::rp::Classifier::OutputParameters te::qt::widgets::ClassifierWizardPage::getOutputParams | ( | ) |
Definition at line 140 of file ClassifierWizardPage.cpp.
|
protected |
Definition at line 154 of file ClassifierWizardPage.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
|
slot |
|
slot |
Definition at line 263 of file ClassifierWizardPage.cpp.
Referenced by ClassifierWizardPage().
|
slot |
Definition at line 233 of file ClassifierWizardPage.cpp.
|
slot |
Definition at line 286 of file ClassifierWizardPage.cpp.
Referenced by ClassifierWizardPage().
void te::qt::widgets::ClassifierWizardPage::set | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer for classifier operation.
layer | The layer ptr |
Definition at line 86 of file ClassifierWizardPage.cpp.
|
protected |
Definition at line 208 of file ClassifierWizardPage.cpp.
|
private |
The maximum number of samples inserted.
Definition at line 120 of file ClassifierWizardPage.h.
|
private |
Definition at line 123 of file ClassifierWizardPage.h.
|
private |
Definition at line 122 of file ClassifierWizardPage.h.
|
private |
The map of selected samples.
Definition at line 119 of file ClassifierWizardPage.h.
|
private |
Definition at line 117 of file ClassifierWizardPage.h.
Referenced by ClassifierWizardPage().