Isis 3 Programmer 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:
111  };
114 }
115 
116 #endif // BundleMeasure_h
Camera * camera() const
Accesses the associated camera for this bundle measure.
void setParentImage(QSharedPointer< BundleImage > image)
Sets the parent bundle image.
~BundleMeasure()
Destructor.
bool isRejected() const
Determines whether or not this BundleMeasure is rejected.
double focalPlaneMeasuredY() const
Accesses the measured focal plane y value for this control measure //TODO verify? ...
double focalPlaneComputedY() const
Accesses the computed focal plane y value for this control measure.
QSharedPointer< BundleObservation > parentBundleObservation()
Accesses the parent BundleObservation for this bundle measure.
BundleControlPoint * m_parentControlPoint
Parent bundle control point that contains this bundle control measure.
void setRejected(bool reject)
Sets the BundleMeasure&#39;s status to rejected or not rejected.
double line() const
Accesses the current line measurement for this control measure.
A container class for a ControlMeasure.
Definition: BundleMeasure.h:69
BundleMeasure & operator=(const BundleMeasure &src)
Assignment operator.
QSharedPointer< BundleObservation > m_parentObservation
Parent bundle observation.
void setParentObservation(QSharedPointer< BundleObservation > observation)
Sets the parent bundle observation.
int observationIndex() const
Accesses the observation index for the parent observation.
QSharedPointer< BundleImage > m_parentBundleImage
Parent image of this bundle control measure.
double sample() const
Accesses the current sample measurement for this control measure.
This class holds information about a control point that BundleAdjust needs to run correctly...
double residualMagnitude() const
Accesses the residual magnitude for this control measure.
double sampleResidual() const
Accesses the sample residual for this control measure.
double focalPlaneMeasuredX() const
Accesses the measured focal plane x value for this control measure //TODO verify? ...
BundleControlPoint * parentControlPoint()
Accesses the parent BundleControlPoint for this bundle measure.
const QSharedPointer< BundleObservationSolveSettings > observationSolveSettings()
Accesses the parent observation&#39;s solve settings.
QString cubeSerialNumber() const
Accesses the serial number of the cube containing this control measure.
double focalPlaneComputedX() const
Accesses the computed focal plane x value for this control measure.
QSharedPointer< BundleMeasure > BundleMeasureQsp
Definition for BundleMeasureQsp, a shared pointer to a BundleMeasure.
QSharedPointer< BundleImage > parentBundleImage()
Access the parent BundleImage for this bundle measure.
ControlMeasure * m_controlMeasure
Contained control measure.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
a control measurement
double lineResidual() const
Accesses the line residual for this control measure.
BundleMeasure(ControlMeasure *controlMeasure, BundleControlPoint *bundleControlPoint)
Constructor.