Loading [MathJax]/jax/output/NativeMML/config.js
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 
12 class QString;
13 class QVariant;
14 
15 namespace Isis {
16  class PvlKeyword;
17 
38  public:
54 
60 
68 
77 
82 
88 
94 
100 
106  };
107 
112  static const int MaximumNumericLogDataType = 9;
113 
116  ControlMeasureLogData(PvlKeyword keywordRep);
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
Isis::ControlMeasureLogData::Obsolete_AverageResidual
@ Obsolete_AverageResidual
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:105
Isis::PvlKeyword::name
QString name() const
Returns the keyword name.
Definition: PvlKeyword.h:98
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
Isis::ControlMeasureLogData::GetNumericalValue
double GetNumericalValue() const
Get the value associated with this log data.
Definition: ControlMeasureLogData.cpp:123
Isis::ControlMeasureLogData::SubPixelCorrelation
@ SubPixelCorrelation
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:99
SpecialPixel.h
Isis::ControlMeasureLogData::MaximumNumericLogDataType
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
Isis::ControlMeasureLogData::GetDataType
NumericLogDataType GetDataType() const
Get the data type associated with this log data.
Definition: ControlMeasureLogData.cpp:135
Isis::ControlMeasureLogData::SetNumericalValue
void SetNumericalValue(double value)
This updates the value associated with a NumericLogDataType.
Definition: ControlMeasureLogData.cpp:100
Isis::ControlMeasureLogData::NumericLogDataType
NumericLogDataType
Please do not change existing values in this list except the size - it will break backwards compadibi...
Definition: ControlMeasureLogData.h:49
Isis::ControlMeasureLogData::MaximumPixelZScore
@ MaximumPixelZScore
Definition: ControlMeasureLogData.h:81
Isis::ControlMeasureLogData::ControlMeasureLogData
ControlMeasureLogData()
This creates an empty, invalid (IsValid() will return false), instance.
Definition: ControlMeasureLogData.cpp:20
Isis::ControlMeasureLogData::ToKeyword
PvlKeyword ToKeyword() const
This converts the log data to a PvlKeyword.
Definition: ControlMeasureLogData.cpp:166
Isis::ControlMeasureLogData::NameToDataType
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
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Isis::ControlMeasureLogData::IsValid
bool IsValid() const
This tests if the log data is complete and valid.
Definition: ControlMeasureLogData.cpp:154
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::ControlMeasureLogData::MinimumPixelZScore
@ MinimumPixelZScore
Control measures store z-scores in pairs.
Definition: ControlMeasureLogData.h:76
Isis::ControlMeasureLogData::~ControlMeasureLogData
~ControlMeasureLogData()
Destructor.
Definition: ControlMeasureLogData.cpp:81
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::ControlMeasureLogData::DataTypeToName
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
Isis::Null
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
Isis::ControlMeasureLogData::InvalidNumericLogDataType
@ InvalidNumericLogDataType
This is a placeholder for unset values.
Definition: ControlMeasureLogData.h:53
Isis::ControlMeasureLogData::PixelShift
@ PixelShift
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:87
Isis::ControlMeasureLogData::SetDataType
void SetDataType(NumericLogDataType newDataType)
This changes the type of this log data.
Definition: ControlMeasureLogData.cpp:111
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::ControlMeasureLogData::WholePixelCorrelation
@ WholePixelCorrelation
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:93
PvlKeyword.h
Isis::ControlMeasureLogData::GoodnessOfFit
@ GoodnessOfFit
GoodnessOfFit is pointreg information for reference measures.
Definition: ControlMeasureLogData.h:67
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
Isis::ControlMeasureLogData::Obsolete_Eccentricity
@ Obsolete_Eccentricity
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:59
ControlMeasureLogData.h
Isis::ControlMeasureLogData
Statistical and similar ControlMeasure associated information.
Definition: ControlMeasureLogData.h:37
Isis::ControlMeasureLogData::GetValue
QVariant GetValue() const
Get the data type associated with this log data.
Definition: ControlMeasureLogData.cpp:144
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

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:10:49