Isis 3 Programmer Reference
ControlMeasureLogData.h
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
140 };
141}
142
143#endif
Statistical and similar ControlMeasure associated information.
static const int MaximumNumericLogDataType
This value must be > the largest enumerated value in this type or convertions to and from Pvl will no...
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...
PvlKeyword ToKeyword() const
This converts the log data to a PvlKeyword.
NumericLogDataType GetDataType() const
Get the data type associated with this log data.
NumericLogDataType
Please do not change existing values in this list except the size - it will break backwards compadibi...
@ InvalidNumericLogDataType
This is a placeholder for unset values.
@ WholePixelCorrelation
Deprecated keyword kept for backwards compatability with older Control Networks.
@ MinimumPixelZScore
Control measures store z-scores in pairs.
@ GoodnessOfFit
GoodnessOfFit is pointreg information for reference measures.
@ Obsolete_Eccentricity
Deprecated keyword kept for backwards compatability with older Control Networks.
@ PixelShift
Deprecated keyword kept for backwards compatability with older Control Networks.
@ SubPixelCorrelation
Deprecated keyword kept for backwards compatability with older Control Networks.
@ Obsolete_AverageResidual
Deprecated keyword kept for backwards compatability with older Control Networks.
double GetNumericalValue() const
Get the value associated with this log data.
double p_numericalValue
The actual value of the data.
void SetNumericalValue(double value)
This updates the value associated with a NumericLogDataType.
ControlMeasureLogData()
This creates an empty, invalid (IsValid() will return false), instance.
void SetDataType(NumericLogDataType newDataType)
This changes the type of this log data.
QString DataTypeToName(NumericLogDataType type) const
This converts the log data type to a string and is used internally for convertions to and from Pvl.
void Init()
This is a helper method for the constructor that initializes the data to a default,...
bool IsValid() const
This tests if the log data is complete and valid.
NumericLogDataType p_dataType
Which kind of value are we storing.
QVariant GetValue() const
Get the data type associated with this log data.
A single keyword-value pair.
Definition PvlKeyword.h:87
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16