![]() |
Isis Developer 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. | |
~MatrixOptions () | |
Constructor that sets up all the variables. | |
QColor | goodCorrelationColor () |
The color selected for the correlation values that are below the given threshold. | |
QColor | badCorrelationColor () |
The color selected for the correlation values that are above the given threshold. | |
double | colorTolerance () |
Threshold for what is considered a bad correlation. | |
bool | colorScheme () |
Use the green-red gradient if false. | |
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. | |
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. | |
CorrelationMatrix * | parentMatrix () |
This class holds the matrix color and focus information.
This class is the go-between for the MatrixOptionsDialog and the MatrixSceneWidget.
Isis::MatrixOptions::MatrixOptions | ( | CorrelationMatrix | parent, |
MatrixSceneWidget * | scene ) |
Default Constructor.
References optionsUpdated(), and Tolerance.
Isis::MatrixOptions::~MatrixOptions | ( | ) |
Constructor that sets up all the variables.
Default Destructor
QColor Isis::MatrixOptions::badCorrelationColor | ( | ) |
The color selected for the correlation values that are above the given threshold.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
QList< double > Isis::MatrixOptions::badElements | ( | ) |
Referenced by setBadElements().
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.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
double Isis::MatrixOptions::colorTolerance | ( | ) |
Threshold for what is considered a bad correlation.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
double Isis::MatrixOptions::currentCorrelation | ( | ) |
QString Isis::MatrixOptions::currentImage1 | ( | ) |
QString Isis::MatrixOptions::currentImage2 | ( | ) |
QString Isis::MatrixOptions::currentParameter1 | ( | ) |
QString Isis::MatrixOptions::currentParameter2 | ( | ) |
QString Isis::MatrixOptions::focusImage1 | ( | ) |
QString Isis::MatrixOptions::focusImage2 | ( | ) |
MatrixOptions::FocusOption Isis::MatrixOptions::focusOption | ( | ) |
Referenced by Isis::MatrixOptionsDialog::readOptions().
QString Isis::MatrixOptions::focusParameter1 | ( | ) |
QString Isis::MatrixOptions::focusParameter2 | ( | ) |
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.
Referenced by Isis::MatrixOptionsDialog::readOptions().
QColor Isis::MatrixOptions::goodCorrelationColor | ( | ) |
The color selected for the correlation values that are below the given threshold.
Referenced by Isis::MatrixSceneWidget::drawElements(), and Isis::MatrixOptionsDialog::readOptions().
QList< double > Isis::MatrixOptions::goodElements | ( | ) |
Referenced by setGoodElements().
QMap< QString, QStringList > Isis::MatrixOptions::matrixImgsAndParams | ( | ) |
This slot will be called when a matrix element is clicked on.
References Isis::CorrelationMatrix::imagesAndParameters().
Referenced by Isis::MatrixOptionsDialog::readOptions().
|
signal |
Referenced by MatrixOptions().
CorrelationMatrix * Isis::MatrixOptions::parentMatrix | ( | ) |
Referenced by Isis::MatrixSceneWidget::redrawElements().
void Isis::MatrixOptions::setBadCorrelationColor | ( | QColor | color | ) |
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setBadElements | ( | QList< double > | badElements | ) |
References badElements().
void Isis::MatrixOptions::setColorScheme | ( | bool | tolerance | ) |
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setColorTolerance | ( | double | tolerance | ) |
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setCurrentCorrelation | ( | double | value | ) |
void Isis::MatrixOptions::setCurrentImage1 | ( | QString | current | ) |
void Isis::MatrixOptions::setCurrentImage2 | ( | QString | current | ) |
void Isis::MatrixOptions::setCurrentParameter1 | ( | QString | current | ) |
void Isis::MatrixOptions::setCurrentParameter2 | ( | QString | current | ) |
void Isis::MatrixOptions::setFocusOption | ( | FocusOption | option | ) |
void Isis::MatrixOptions::setFocusValue | ( | double | value | ) |
void Isis::MatrixOptions::setGoodCorrelationColor | ( | QColor | color | ) |
Referenced by Isis::MatrixOptionsDialog::applyOptions().
void Isis::MatrixOptions::setGoodElements | ( | QList< double > | goodElements | ) |
References 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: 03/27/2024 15:36:59 |