Isis 3 Programmer Reference
MeasureValidationResults.h
Go to the documentation of this file.
1 #ifndef _MeasureValidationResults_h_
2 #define _MeasureValidationResults_h_
3 
4 class QString;
5 template< class T > class QVector;
6 
29 namespace Isis {
44 
45  public:
46  enum Option {
47  EmissionAngle,
48  IncidenceAngle,
49  DNValue,
50  Resolution,
51  PixelsFromEdge,
52  MetersFromEdge,
53  SampleResidual,
54  LineResidual,
55  ResidualMagnitude,
56  SampleShift,
57  LineShift,
58  PixelShift
59  };
60 
63 
64  bool isValid();
65  bool getValidStatus(Option opt);
66 
67  QString toString();
68  QString toString(QString serialNumber, QString pointID);
69  QString toString(QString sample, QString line, QString serialNumber,
70  QString pointID);
71 
72  void addFailure(Option opt, double tolerance, const char* compare="less");
73  void addFailure(Option opt, double computed, double min, double max);
74 
75  QString getFailurePrefix(Option opt);
76 
77  private:
78  QVector<Option> * failures;
79  QString * errorMsg;
80  };
81 };
82 
83 #endif
84 
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:226
MeasureValidationResults class.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31