![]() |
Isis 3 Programmer Reference
|
This class holds the matrix color and focus information. More...
#include <MatrixOptions.h>
Public Types | |
enum | FocusOption { Best, Worst, Specific, Tolerance } |
Signals | |
void | optionsUpdated () |
Public Member Functions | |
MatrixOptions (CorrelationMatrix parent, MatrixSceneWidget *scene) | |
Default Constructor. More... | |
~MatrixOptions () | |
Constructor that sets up all the variables. More... | |
QColor | goodCorrelationColor () |
The color selected for the correlation values that are below the given threshold. More... | |
QColor | badCorrelationColor () |
The color selected for the correlation values that are above the given threshold. More... | |
double | colorTolerance () |
Threshold for what is considered a bad correlation. More... | |
bool | colorScheme () |
Use the green-red gradient if false. More... | |
void | setColorScheme (bool tolerance) |
void | setColorTolerance (double tolerance) |
void | setGoodCorrelationColor (QColor color) |
void | setBadCorrelationColor (QColor color) |
FocusOption | focusOption () |
double | focusValue () |
The value of the spot on the matrix that we need to focus on. More... | |
QString | focusImage1 () |
QString | focusParameter1 () |
QString | focusImage2 () |
QString | focusParameter2 () |
QList< double > | goodElements () |
QList< double > | badElements () |
void | setFocusOption (FocusOption option) |
void | setFocusValue (double value) |
void | setGoodElements (QList< double > goodElements) |
void | setBadElements (QList< double > badElements) |
double | currentCorrelation () |
QString | currentImage1 () |
QString | currentParameter1 () |
QString | currentImage2 () |
QString | currentParameter2 () |
void | setCurrentCorrelation (double value) |
void | setCurrentImage1 (QString current) |
void | setCurrentParameter1 (QString current) |
void | setCurrentImage2 (QString current) |
void | setCurrentParameter2 (QString current) |
QMap< QString, QStringList > | matrixImgsAndParams () |
This slot will be called when a matrix element is clicked on. More... | |
CorrelationMatrix * | parentMatrix () |
Private Attributes | |
CorrelationMatrix * | m_parentMatrix |
bool | m_tolerance |
QColor | m_goodColor |
QColor | m_badColor |
double | m_colorTolerance |
FocusOption | m_focusOption |
QString | m_image1 |
QString | m_parameter1 |
QString | m_image2 |
QString | m_parameter2 |
double | m_focusTolSelectedElement |
QList< double > | m_goodElements |
QList< double > | m_badElements |
double | m_currentValue |
QString | m_currentImg1 |
QString | m_currentParam1 |
QString | m_currentImg2 |
QString | m_currentParam2 |
This class holds the matrix color and focus information.
This class is the go-between for the MatrixOptionsDialog and the MatrixSceneWidget.
Definition at line 28 of file MatrixOptions.h.
Isis::MatrixOptions::MatrixOptions | ( | CorrelationMatrix | parent, |
MatrixSceneWidget * | scene | ||
) |
Default Constructor.
Definition at line 15 of file MatrixOptions.cpp.
Isis::MatrixOptions::~MatrixOptions | ( | ) |
Constructor that sets up all the variables.
Default Destructor
Definition at line 71 of file MatrixOptions.cpp.
QColor Isis::MatrixOptions::badCorrelationColor | ( | ) |
The color selected for the correlation values that are above the given threshold.
Definition at line 93 of file MatrixOptions.cpp.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
QList< double > Isis::MatrixOptions::badElements | ( | ) |
bool Isis::MatrixOptions::colorScheme | ( | ) |
Use the green-red gradient if false.
Use the 50/50 color split if true. You need the good/bad correlation color methods if true.
Definition at line 116 of file MatrixOptions.cpp.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
double Isis::MatrixOptions::colorTolerance | ( | ) |
Threshold for what is considered a bad correlation.
Definition at line 104 of file MatrixOptions.cpp.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
double Isis::MatrixOptions::currentCorrelation | ( | ) |
Definition at line 281 of file MatrixOptions.cpp.
QString Isis::MatrixOptions::currentImage1 | ( | ) |
Definition at line 290 of file MatrixOptions.cpp.
QString Isis::MatrixOptions::currentImage2 | ( | ) |
Definition at line 308 of file MatrixOptions.cpp.
QString Isis::MatrixOptions::currentParameter1 | ( | ) |
Definition at line 299 of file MatrixOptions.cpp.
QString Isis::MatrixOptions::currentParameter2 | ( | ) |
Definition at line 317 of file MatrixOptions.cpp.
QString Isis::MatrixOptions::focusImage1 | ( | ) |
Definition at line 187 of file MatrixOptions.cpp.
QString Isis::MatrixOptions::focusImage2 | ( | ) |
Definition at line 205 of file MatrixOptions.cpp.
MatrixOptions::FocusOption Isis::MatrixOptions::focusOption | ( | ) |
Definition at line 166 of file MatrixOptions.cpp.
Referenced by Isis::MatrixOptionsDialog::readOptions().
QString Isis::MatrixOptions::focusParameter1 | ( | ) |
Definition at line 196 of file MatrixOptions.cpp.
QString Isis::MatrixOptions::focusParameter2 | ( | ) |
Definition at line 214 of file MatrixOptions.cpp.
double Isis::MatrixOptions::focusValue | ( | ) |
The value of the spot on the matrix that we need to focus on.
This can come from the best or worst option as well as the good/bad lists when a tolerance is entered.
Definition at line 178 of file MatrixOptions.cpp.
Referenced by Isis::MatrixOptionsDialog::readOptions().
QColor Isis::MatrixOptions::goodCorrelationColor | ( | ) |
The color selected for the correlation values that are below the given threshold.
Definition at line 82 of file MatrixOptions.cpp.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
QList< double > Isis::MatrixOptions::goodElements | ( | ) |
QMap< QString, QStringList > Isis::MatrixOptions::matrixImgsAndParams | ( | ) |
This slot will be called when a matrix element is clicked on.
Definition at line 383 of file MatrixOptions.cpp.
References Isis::CorrelationMatrix::imagesAndParameters().
Referenced by Isis::MatrixOptionsDialog::readOptions(), and Isis::MatrixOptionsDialog::updateSpecificParameterComboBox().
void Isis::MatrixOptions::setBadCorrelationColor | ( | QColor | color | ) |
Definition at line 156 of file MatrixOptions.cpp.
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setBadElements | ( | QList< double > | badElements | ) |
void Isis::MatrixOptions::setColorScheme | ( | bool | tolerance | ) |
Definition at line 126 of file MatrixOptions.cpp.
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setColorTolerance | ( | double | tolerance | ) |
Definition at line 136 of file MatrixOptions.cpp.
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setCurrentCorrelation | ( | double | value | ) |
Definition at line 326 of file MatrixOptions.cpp.
void Isis::MatrixOptions::setCurrentImage1 | ( | QString | current | ) |
Definition at line 335 of file MatrixOptions.cpp.
void Isis::MatrixOptions::setCurrentImage2 | ( | QString | current | ) |
Definition at line 353 of file MatrixOptions.cpp.
void Isis::MatrixOptions::setCurrentParameter1 | ( | QString | current | ) |
Definition at line 344 of file MatrixOptions.cpp.
void Isis::MatrixOptions::setCurrentParameter2 | ( | QString | current | ) |
Definition at line 362 of file MatrixOptions.cpp.
void Isis::MatrixOptions::setFocusOption | ( | FocusOption | option | ) |
Definition at line 241 of file MatrixOptions.cpp.
void Isis::MatrixOptions::setFocusValue | ( | double | value | ) |
Definition at line 250 of file MatrixOptions.cpp.
void Isis::MatrixOptions::setGoodCorrelationColor | ( | QColor | color | ) |
Definition at line 146 of file MatrixOptions.cpp.
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setGoodElements | ( | QList< double > | goodElements | ) |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/13/2023 15:20:29 |