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 | drawHistogram () |
void | onCellClicked (int row, int column) |
void | onContrastTypeComboBoxActivated (int index) |
void | onMaxValueSelected (int value, int band) |
void | onMinValueSelected (int value, int band) |
void | onPreviewChanged () |
Protected Member Functions | |
void | fillContrastTypes () |
void | listBands () |
Private Attributes | |
std::auto_ptr< te::qt::widgets::RasterHistogramWidget > | m_histogramWidget |
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 46 of file ContrastWizardPage.cpp.
References apply(), fillContrastTypes(), m_histogramWidget, m_navigator, m_ui, onCellClicked(), onContrastTypeComboBoxActivated(), onMaxValueSelected(), onMinValueSelected(), and onPreviewChanged().
te::qt::widgets::ContrastWizardPage::~ContrastWizardPage | ( | ) |
Definition at line 86 of file ContrastWizardPage.cpp.
|
protectedslot |
Definition at line 257 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::OutputParameters::m_createdOutRasterPtr, te::rp::Contrast::InputParameters::m_inRasterPtr, and te::rp::Contrast::OutputParameters::m_outRasterPtr.
Referenced by ContrastWizardPage().
|
protectedslot |
Definition at line 591 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::InputParameters::LogContrastT, te::rp::Contrast::InputParameters::MeanAndStdContrastT, te::rp::Contrast::InputParameters::SquareContrastT, and te::rp::Contrast::InputParameters::SquareRootContrastT.
|
protected |
Definition at line 306 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::DecorrelationEnhancementT, te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::InputParameters::LogContrastT, te::rp::Contrast::InputParameters::MeanAndStdContrastT, te::rp::Contrast::InputParameters::SquareContrastT, and te::rp::Contrast::InputParameters::SquareRootContrastT.
Referenced by ContrastWizardPage().
te::map::AbstractLayerPtr te::qt::widgets::ContrastWizardPage::get | ( | ) |
Definition at line 120 of file ContrastWizardPage.cpp.
te::rp::Contrast::InputParameters te::qt::widgets::ContrastWizardPage::getInputParams | ( | ) |
Definition at line 125 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::DecorrelationEnhancementT, te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::InputParameters::LogContrastT, 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_logCMaxInput, te::rp::Contrast::InputParameters::m_logCMinInput, te::rp::Contrast::InputParameters::m_sMASCMeanInput, te::rp::Contrast::InputParameters::m_sMASCStdInput, te::rp::Contrast::InputParameters::m_squareCMaxInput, te::rp::Contrast::InputParameters::m_squareCMinInput, te::rp::Contrast::InputParameters::m_squareRootCMaxInput, te::rp::Contrast::InputParameters::m_squareRootCMinInput, te::rp::Contrast::InputParameters::m_type, te::rp::Contrast::InputParameters::MeanAndStdContrastT, te::rp::Contrast::InputParameters::SquareContrastT, and te::rp::Contrast::InputParameters::SquareRootContrastT.
te::rp::Contrast::OutputParameters te::qt::widgets::ContrastWizardPage::getOutputParams | ( | ) |
bool te::qt::widgets::ContrastWizardPage::isComplete | ( | ) | const |
Definition at line 90 of file ContrastWizardPage.cpp.
|
protected |
Definition at line 319 of file ContrastWizardPage.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
|
protectedslot |
Definition at line 502 of file ContrastWizardPage.cpp.
Referenced by ContrastWizardPage().
|
protectedslot |
Definition at line 367 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::DecorrelationEnhancementT, te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::InputParameters::LogContrastT, te::rp::Contrast::InputParameters::MeanAndStdContrastT, te::rp::Contrast::InputParameters::SquareContrastT, and te::rp::Contrast::InputParameters::SquareRootContrastT.
Referenced by ContrastWizardPage().
|
protectedslot |
Definition at line 546 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::InputParameters::LogContrastT, te::rp::Contrast::InputParameters::MeanAndStdContrastT, te::rp::Contrast::InputParameters::SquareContrastT, and te::rp::Contrast::InputParameters::SquareRootContrastT.
Referenced by ContrastWizardPage().
|
protectedslot |
Definition at line 510 of file ContrastWizardPage.cpp.
References te::rp::Contrast::InputParameters::HistogramEqualizationContrastT, te::rp::Contrast::InputParameters::LinearContrastT, te::rp::Contrast::InputParameters::LogContrastT, te::rp::Contrast::InputParameters::MeanAndStdContrastT, te::rp::Contrast::InputParameters::SquareContrastT, and te::rp::Contrast::InputParameters::SquareRootContrastT.
Referenced by ContrastWizardPage().
|
protectedslot |
Definition at line 582 of file ContrastWizardPage.cpp.
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 107 of file ContrastWizardPage.cpp.
|
private |
Definition at line 113 of file ContrastWizardPage.h.
Referenced by ContrastWizardPage().
|
private |
Definition at line 115 of file ContrastWizardPage.h.
|
private |
Definition at line 112 of file ContrastWizardPage.h.
Referenced by ContrastWizardPage().
|
private |
Definition at line 111 of file ContrastWizardPage.h.
Referenced by ContrastWizardPage().