Isis 3 Developer Reference
BundleMeasure.h
Go to the documentation of this file.
1 #ifndef BundleMeasure_h
2 #define BundleMeasure_h
3 
26 #include <QSharedPointer>
27 
28 namespace Isis {
29  class BundleControlPoint;
30  class BundleImage;
31  class BundleObservation;
32  class BundleObservationSolveSettings;
33  class Camera;
34  class ControlMeasure;
35 
69  class BundleMeasure {
70 
71  public:
72  // constructor
73  BundleMeasure(ControlMeasure *controlMeasure, BundleControlPoint *bundleControlPoint);
74 
75  // copy constructor
76  BundleMeasure(const BundleMeasure &src);
77 
78  // destructor
80 
84  void setRejected(bool reject);
85 
86  bool isRejected() const;
87  Camera *camera() const;
92 
93  double sample() const;
94  double sampleResidual() const;
95  double line() const;
96  double lineResidual() const;
97  double residualMagnitude() const;
98  QString cubeSerialNumber() const;
99  double focalPlaneComputedX() const;
100  double focalPlaneComputedY() const;
101  double focalPlaneMeasuredX() const;
102  double focalPlaneMeasuredY() const;
103  int observationIndex() const;
104 
105  private:
106  ControlMeasure *m_controlMeasure;
107  BundleControlPoint *m_parentControlPoint;
109  QSharedPointer<BundleImage> m_parentBundleImage;
110  QSharedPointer<BundleObservation> m_parentObservation;
111  };
114 }
115 
116 #endif // BundleMeasure_h
Camera * camera() const
Accesses the associated camera for this bundle measure.
Definition: BundleMeasure.cpp:120
void setParentImage(QSharedPointer< BundleImage > image)
Sets the parent bundle image.
Definition: BundleMeasure.cpp:86
~BundleMeasure()
Destructor.
Definition: BundleMeasure.cpp:30
bool isRejected() const
Determines whether or not this BundleMeasure is rejected.
Definition: BundleMeasure.cpp:108
double focalPlaneMeasuredY() const
Accesses the measured focal plane y value for this control measure //TODO verify? ...
Definition: BundleMeasure.cpp:291
double focalPlaneComputedY() const
Accesses the computed focal plane y value for this control measure.
Definition: BundleMeasure.cpp:267
QSharedPointer< BundleObservation > parentBundleObservation()
Accesses the parent BundleObservation for this bundle measure.
Definition: BundleMeasure.cpp:150
void setRejected(bool reject)
Sets the BundleMeasure&#39;s status to rejected or not rejected.
Definition: BundleMeasure.cpp:98
double line() const
Accesses the current line measurement for this control measure.
Definition: BundleMeasure.cpp:207
A container class for a ControlMeasure.
Definition: BundleMeasure.h:69
Definition: Camera.h:249
BundleMeasure & operator=(const BundleMeasure &src)
Assignment operator.
Definition: BundleMeasure.cpp:58
void setParentObservation(QSharedPointer< BundleObservation > observation)
Sets the parent bundle observation.
Definition: BundleMeasure.cpp:76
int observationIndex() const
Accesses the observation index for the parent observation.
Definition: BundleMeasure.cpp:306
double sample() const
Accesses the current sample measurement for this control measure.
Definition: BundleMeasure.cpp:183
This class holds information about a control point that BundleAdjust needs to run correctly...
Definition: BundleControlPoint.h:105
double residualMagnitude() const
Accesses the residual magnitude for this control measure.
Definition: BundleMeasure.cpp:231
double sampleResidual() const
Accesses the sample residual for this control measure.
Definition: BundleMeasure.cpp:195
Definition: JigsawWorkOrder.h:28
double focalPlaneMeasuredX() const
Accesses the measured focal plane x value for this control measure //TODO verify? ...
Definition: BundleMeasure.cpp:279
BundleControlPoint * parentControlPoint()
Accesses the parent BundleControlPoint for this bundle measure.
Definition: BundleMeasure.cpp:130
const QSharedPointer< BundleObservationSolveSettings > observationSolveSettings()
Accesses the parent observation&#39;s solve settings.
Definition: BundleMeasure.cpp:166
QString cubeSerialNumber() const
Accesses the serial number of the cube containing this control measure.
Definition: BundleMeasure.cpp:243
double focalPlaneComputedX() const
Accesses the computed focal plane x value for this control measure.
Definition: BundleMeasure.cpp:255
QSharedPointer< BundleMeasure > BundleMeasureQsp
Definition for BundleMeasureQsp, a shared pointer to a BundleMeasure.
Definition: BundleMeasure.h:113
QSharedPointer< BundleImage > parentBundleImage()
Access the parent BundleImage for this bundle measure.
Definition: BundleMeasure.cpp:140
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
a control measurement
Definition: ControlMeasure.h:189
double lineResidual() const
Accesses the line residual for this control measure.
Definition: BundleMeasure.cpp:219
BundleMeasure(ControlMeasure *controlMeasure, BundleControlPoint *bundleControlPoint)
Constructor.
Definition: BundleMeasure.cpp:20