This class is GUI used to define the contrast parameters for the RP constast operation. More...
#include <ContrastWizardPage.h>
Public Member Functions | |
ContrastWizardPage (QWidget *parent=0) | |
te::map::AbstractLayerPtr | get () |
te::rp::Contrast::InputParameters | getInputParams () |
te::rp::Contrast::OutputParameters | getOutputParams () |
bool | isComplete () const |
void | set (te::map::AbstractLayerPtr layer) |
This method is used to set the selected layer for contrast operation. More... | |
~ContrastWizardPage () | |
Protected Slots | |
void | apply () |
void | onContrastTypeComboBoxActivated (int index) |
void | showHistogram () |
Protected Member Functions | |
void | fillContrastTypes () |
void | listBands () |
Private Attributes | |
std::auto_ptr < te::qt::widgets::RasterHistogramDialog > | m_histogramDlg |
te::map::AbstractLayerPtr | m_layer |
std::auto_ptr < te::qt::widgets::RasterNavigatorWidget > | m_navigator |
std::auto_ptr < Ui::ContrastWizardPageForm > | m_ui |
This class is GUI used to define the contrast parameters for the RP constast operation.
Definition at line 57 of file ContrastWizardPage.h.
te::qt::widgets::ContrastWizardPage::ContrastWizardPage | ( | QWidget * | parent = 0 | ) |
Definition at line 47 of file ContrastWizardPage.cpp.
References apply(), fillContrastTypes(), m_histogramDlg, m_navigator, m_ui, onContrastTypeComboBoxActivated(), and showHistogram().
te::qt::widgets::ContrastWizardPage::~ContrastWizardPage | ( | ) |
Definition at line 82 of file ContrastWizardPage.cpp.
|
protectedslot |
Definition at line 197 of file ContrastWizardPage.cpp.
References te::rp::Contrast::execute(), te::rst::Raster::getBandDataType(), te::rst::Raster::getNumberOfBands(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rp::Contrast::initialize(), te::rp::Contrast::OutputParameters::m_createdOutRasterDSType, te::rp::Contrast::OutputParameters::m_createdOutRasterInfo, te::rp::Contrast::InputParameters::m_inRasterPtr, and te::rp::Contrast::OutputParameters::m_outRasterPtr.
Referenced by ContrastWizardPage().
|
protected |
Definition at line 244 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, and te::rp::Contrast::InputParameters::SetMeanAndStdContrastT.
Referenced by ContrastWizardPage().
te::map::AbstractLayerPtr te::qt::widgets::ContrastWizardPage::get | ( | ) |
Definition at line 118 of file ContrastWizardPage.cpp.
te::rp::Contrast::InputParameters te::qt::widgets::ContrastWizardPage::getInputParams | ( | ) |
Definition at line 123 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::InputParameters::m_hECMaxInput, te::rp::Contrast::InputParameters::m_inRasterBands, te::rp::Contrast::InputParameters::m_lCMaxInput, te::rp::Contrast::InputParameters::m_lCMinInput, te::rp::Contrast::InputParameters::m_sMASCMeanInput, te::rp::Contrast::InputParameters::m_sMASCStdInput, te::rp::Contrast::InputParameters::m_type, and te::rp::Contrast::InputParameters::SetMeanAndStdContrastT.
te::rp::Contrast::OutputParameters te::qt::widgets::ContrastWizardPage::getOutputParams | ( | ) |
bool te::qt::widgets::ContrastWizardPage::isComplete | ( | ) | const |
Definition at line 86 of file ContrastWizardPage.cpp.
|
protected |
Definition at line 253 of file ContrastWizardPage.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
|
protectedslot |
Definition at line 309 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, and te::rp::Contrast::InputParameters::SetMeanAndStdContrastT.
Referenced by ContrastWizardPage().
void te::qt::widgets::ContrastWizardPage::set | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set the selected layer for contrast operation.
layer | The layer ptr |
Definition at line 103 of file ContrastWizardPage.cpp.
|
protectedslot |
Definition at line 302 of file ContrastWizardPage.cpp.
Referenced by ContrastWizardPage().
|
private |
Definition at line 105 of file ContrastWizardPage.h.
Referenced by ContrastWizardPage().
|
private |
Definition at line 107 of file ContrastWizardPage.h.
|
private |
Definition at line 104 of file ContrastWizardPage.h.
Referenced by ContrastWizardPage().
|
private |
Definition at line 103 of file ContrastWizardPage.h.
Referenced by ContrastWizardPage().