Isis Developer Reference
MeasureValidationResults.h
Go to the documentation of this file.
1 #ifndef _MeasureValidationResults_h_
2 #define _MeasureValidationResults_h_
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 class QString;
13 template< class T > class QVector;
14 
15 namespace Isis {
30 
31  public:
32  enum Option {
45  };
46 
49 
50  bool isValid();
51  bool getValidStatus(Option opt);
52 
53  QString toString();
54  QString toString(QString serialNumber, QString pointID);
55  QString toString(QString sample, QString line, QString serialNumber,
56  QString pointID);
57 
58  void addFailure(Option opt, double tolerance, const char* compare="less");
59  void addFailure(Option opt, double computed, double min, double max);
60 
61  QString getFailurePrefix(Option opt);
62 
63  private:
64  QVector<Option> * failures;
65  QString * errorMsg;
66  };
67 };
68 
69 #endif
Isis::MeasureValidationResults::isValid
bool isValid()
Definition: MeasureValidationResults.cpp:37
Isis::MeasureValidationResults::SampleResidual
@ SampleResidual
Definition: MeasureValidationResults.h:39
Isis::MeasureValidationResults::PixelShift
@ PixelShift
Definition: MeasureValidationResults.h:44
Isis::MeasureValidationResults::~MeasureValidationResults
~MeasureValidationResults()
Definition: MeasureValidationResults.cpp:25
Isis::MeasureValidationResults::getFailurePrefix
QString getFailurePrefix(Option opt)
Definition: MeasureValidationResults.cpp:87
Isis::MeasureValidationResults::LineShift
@ LineShift
Definition: MeasureValidationResults.h:43
Isis::MeasureValidationResults
MeasureValidationResults class.
Definition: MeasureValidationResults.h:29
Isis::MeasureValidationResults::PixelsFromEdge
@ PixelsFromEdge
Definition: MeasureValidationResults.h:37
Isis::MeasureValidationResults::LineResidual
@ LineResidual
Definition: MeasureValidationResults.h:40
Isis::MeasureValidationResults::getValidStatus
bool getValidStatus(Option opt)
Definition: MeasureValidationResults.cpp:42
Isis::MeasureValidationResults::SampleShift
@ SampleShift
Definition: MeasureValidationResults.h:42
Isis::MeasureValidationResults::EmissionAngle
@ EmissionAngle
Definition: MeasureValidationResults.h:33
Isis::MeasureValidationResults::MeasureValidationResults
MeasureValidationResults()
Definition: MeasureValidationResults.cpp:16
MeasureValidationResults.h
Isis::MeasureValidationResults::DNValue
@ DNValue
Definition: MeasureValidationResults.h:35
Isis::MeasureValidationResults::ResidualMagnitude
@ ResidualMagnitude
Definition: MeasureValidationResults.h:41
Isis::MeasureValidationResults::Option
Option
Definition: MeasureValidationResults.h:32
Isis::MeasureValidationResults::Resolution
@ Resolution
Definition: MeasureValidationResults.h:36
Isis::MeasureValidationResults::IncidenceAngle
@ IncidenceAngle
Definition: MeasureValidationResults.h:34
Isis::MeasureValidationResults::MetersFromEdge
@ MetersFromEdge
Definition: MeasureValidationResults.h:38
Isis::MeasureValidationResults::addFailure
void addFailure(Option opt, double tolerance, const char *compare="less")
Definition: MeasureValidationResults.cpp:68
Isis::MeasureValidationResults::toString
QString toString()
Definition: MeasureValidationResults.cpp:47
QVector< Option >
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16