This class is GUI used to define the arithmeticOp parameters for the RP arithmeticOp operation. More...
#include <ArithmeticOpWizardPage.h>
Public Slots | |
void | addRasterOpToolButtonClicked () |
void | addValueOpToolButtonClicked () |
void | clearToolButtonClicked () |
void | divToolButtonClicked () |
void | layerAComboBoxActivated (int index) |
void | layerBComboBoxActivated (int index) |
void | layerComboBoxActivated (int index) |
void | leftBracketToolButtonClicked () |
void | minusToolButtonClicked () |
void | multiToolButtonClicked () |
void | plusToolButtonClicked () |
void | redoToolButtonClicked () |
void | rightBracketToolButtonClicked () |
void | undoToolButtonClicked () |
void | validateToolButtonClicked () |
Public Member Functions | |
ArithmeticOpWizardPage (QWidget *parent=0) | |
double | getGainValue () |
int | getLayerBandA () |
int | getLayerBandB () |
te::map::AbstractLayerPtr | getLayerRasterA () |
te::map::AbstractLayerPtr | getLayerRasterB () |
double | getOffSetValue () |
int | getOperationType () |
std::string | getUserDefinedExpression () |
bool | isComplete () const |
bool | normalize () |
void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
~ArithmeticOpWizardPage () | |
Protected Member Functions | |
void | getRasterBands (QComboBox *layer, int index, QComboBox *band) |
void | updateExpressionHistory () |
Private Attributes | |
std::vector< std::string > | m_expressionHistory |
int | m_expressionHistoryCounter |
std::list< te::map::AbstractLayerPtr > | m_layerList |
std::auto_ptr< Ui::ArithmeticOpWizardPageForm > | m_ui |
This class is GUI used to define the arithmeticOp parameters for the RP arithmeticOp operation.
Definition at line 55 of file ArithmeticOpWizardPage.h.
te::qt::widgets::ArithmeticOpWizardPage::ArithmeticOpWizardPage | ( | QWidget * | parent = 0 | ) |
Definition at line 43 of file ArithmeticOpWizardPage.cpp.
References addRasterOpToolButtonClicked(), addValueOpToolButtonClicked(), clearToolButtonClicked(), divToolButtonClicked(), layerAComboBoxActivated(), layerBComboBoxActivated(), layerComboBoxActivated(), leftBracketToolButtonClicked(), m_expressionHistoryCounter, m_ui, minusToolButtonClicked(), multiToolButtonClicked(), plusToolButtonClicked(), redoToolButtonClicked(), rightBracketToolButtonClicked(), undoToolButtonClicked(), and validateToolButtonClicked().
te::qt::widgets::ArithmeticOpWizardPage::~ArithmeticOpWizardPage | ( | ) |
Definition at line 94 of file ArithmeticOpWizardPage.cpp.
|
slot |
Definition at line 294 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 287 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 352 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 280 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
double te::qt::widgets::ArithmeticOpWizardPage::getGainValue | ( | ) |
Definition at line 198 of file ArithmeticOpWizardPage.cpp.
int te::qt::widgets::ArithmeticOpWizardPage::getLayerBandA | ( | ) |
Definition at line 179 of file ArithmeticOpWizardPage.cpp.
int te::qt::widgets::ArithmeticOpWizardPage::getLayerBandB | ( | ) |
Definition at line 193 of file ArithmeticOpWizardPage.cpp.
te::map::AbstractLayerPtr te::qt::widgets::ArithmeticOpWizardPage::getLayerRasterA | ( | ) |
Definition at line 170 of file ArithmeticOpWizardPage.cpp.
te::map::AbstractLayerPtr te::qt::widgets::ArithmeticOpWizardPage::getLayerRasterB | ( | ) |
Definition at line 184 of file ArithmeticOpWizardPage.cpp.
double te::qt::widgets::ArithmeticOpWizardPage::getOffSetValue | ( | ) |
Definition at line 208 of file ArithmeticOpWizardPage.cpp.
int te::qt::widgets::ArithmeticOpWizardPage::getOperationType | ( | ) |
Definition at line 145 of file ArithmeticOpWizardPage.cpp.
References te::qt::widgets::ArithmeticOpWizard::ARITH_OP_TYPE_1, te::qt::widgets::ArithmeticOpWizard::ARITH_OP_TYPE_2, te::qt::widgets::ArithmeticOpWizard::ARITH_OP_TYPE_3, te::qt::widgets::ArithmeticOpWizard::ARITH_OP_TYPE_4, te::qt::widgets::ArithmeticOpWizard::ARITH_OP_TYPE_5, te::qt::widgets::ArithmeticOpWizard::ARITH_OP_TYPE_6, and te::qt::widgets::ArithmeticOpWizard::ARITH_OP_TYPE_USER_DEFINED.
|
protected |
Definition at line 368 of file ArithmeticOpWizardPage.cpp.
References te::da::GetFirstPropertyPos(), and te::dt::RASTER_TYPE.
std::string te::qt::widgets::ArithmeticOpWizardPage::getUserDefinedExpression | ( | ) |
Definition at line 223 of file ArithmeticOpWizardPage.cpp.
bool te::qt::widgets::ArithmeticOpWizardPage::isComplete | ( | ) | const |
Definition at line 99 of file ArithmeticOpWizardPage.cpp.
|
slot |
Definition at line 235 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 240 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 228 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 245 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 266 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 273 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
bool te::qt::widgets::ArithmeticOpWizardPage::normalize | ( | ) |
Definition at line 218 of file ArithmeticOpWizardPage.cpp.
|
slot |
Definition at line 259 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 329 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
slot |
Definition at line 252 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
void te::qt::widgets::ArithmeticOpWizardPage::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 105 of file ArithmeticOpWizardPage.cpp.
|
slot |
Definition at line 301 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
protected |
Definition at line 389 of file ArithmeticOpWizardPage.cpp.
|
slot |
Definition at line 364 of file ArithmeticOpWizardPage.cpp.
Referenced by ArithmeticOpWizardPage().
|
private |
Definition at line 118 of file ArithmeticOpWizardPage.h.
|
private |
Definition at line 120 of file ArithmeticOpWizardPage.h.
Referenced by ArithmeticOpWizardPage().
|
private |
Definition at line 124 of file ArithmeticOpWizardPage.h.
|
private |
Definition at line 122 of file ArithmeticOpWizardPage.h.
Referenced by ArithmeticOpWizardPage().