Isis Developer Reference
ControlMeasureLogData.h
Go to the documentation of this file.
1#ifndef ControlMeasureLogData_h
2#define ControlMeasureLogData_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12class QString;
13class QVariant;
14
15namespace Isis {
16 class PvlKeyword;
17
38 public:
107
112 static const int MaximumNumericLogDataType = 9;
113
117 ControlMeasureLogData(NumericLogDataType dataType, double value);
120
121 void SetNumericalValue(double value);
122 void SetDataType(NumericLogDataType newDataType);
123
124 double GetNumericalValue() const;
126 QVariant GetValue() const;
127 bool IsValid() const;
128 PvlKeyword ToKeyword() const;
129
130 NumericLogDataType NameToDataType(QString name) const;
131 QString DataTypeToName(NumericLogDataType type) const;
132
133 private:
134 void Init();
135
137 NumericLogDataType p_dataType;
139 double p_numericalValue;
140 };
141}
142
143#endif
Statistical and similar ControlMeasure associated information.
Definition ControlMeasureLogData.h:37
static const int MaximumNumericLogDataType
This value must be > the largest enumerated value in this type or convertions to and from Pvl will no...
Definition ControlMeasureLogData.h:112
NumericLogDataType NameToDataType(QString name) const
This converts a string to a log data type and is useful for converting Pvl keywords to Numeric Log Da...
Definition ControlMeasureLogData.cpp:180
PvlKeyword ToKeyword() const
This converts the log data to a PvlKeyword.
Definition ControlMeasureLogData.cpp:166
NumericLogDataType GetDataType() const
Get the data type associated with this log data.
Definition ControlMeasureLogData.cpp:135
NumericLogDataType
Please do not change existing values in this list except the size - it will break backwards compadibi...
Definition ControlMeasureLogData.h:49
@ MaximumPixelZScore
Definition ControlMeasureLogData.h:81
@ InvalidNumericLogDataType
This is a placeholder for unset values.
Definition ControlMeasureLogData.h:53
@ WholePixelCorrelation
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition ControlMeasureLogData.h:93
@ MinimumPixelZScore
Control measures store z-scores in pairs.
Definition ControlMeasureLogData.h:76
@ GoodnessOfFit
GoodnessOfFit is pointreg information for reference measures.
Definition ControlMeasureLogData.h:67
@ Obsolete_Eccentricity
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition ControlMeasureLogData.h:59
@ PixelShift
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition ControlMeasureLogData.h:87
@ SubPixelCorrelation
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition ControlMeasureLogData.h:99
@ Obsolete_AverageResidual
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition ControlMeasureLogData.h:105
double GetNumericalValue() const
Get the value associated with this log data.
Definition ControlMeasureLogData.cpp:123
void SetNumericalValue(double value)
This updates the value associated with a NumericLogDataType.
Definition ControlMeasureLogData.cpp:100
ControlMeasureLogData()
This creates an empty, invalid (IsValid() will return false), instance.
Definition ControlMeasureLogData.cpp:20
void SetDataType(NumericLogDataType newDataType)
This changes the type of this log data.
Definition ControlMeasureLogData.cpp:111
QString DataTypeToName(NumericLogDataType type) const
This converts the log data type to a string and is used internally for convertions to and from Pvl.
Definition ControlMeasureLogData.cpp:206
~ControlMeasureLogData()
Destructor.
Definition ControlMeasureLogData.cpp:81
bool IsValid() const
This tests if the log data is complete and valid.
Definition ControlMeasureLogData.cpp:154
QVariant GetValue() const
Get the data type associated with this log data.
Definition ControlMeasureLogData.cpp:144
A single keyword-value pair.
Definition PvlKeyword.h:87
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16