9#include "BundleMeasure.h"
10#include "BundleObservation.h"
11#include "BundleObservationSolveSettings.h"
13#include "IException.h"
15#include "ControlMeasure.h"
240 QString msg =
"In BundleMeasure::observationSolveSettings: "
241 "parent observation has not been set.\n";
444 QString msg =
"In BundleMeasure::setMeasureSigma(): m_measureSigma must be positive\n";
464 QString msg =
"In BundleMeasure::observationIndex: "
465 "parent observation has not been set.\n";
This class holds information about a control point that BundleAdjust needs to run correctly.
A container class for a ControlMeasure.
const QSharedPointer< BundleObservationSolveSettings > observationSolveSettings()
Accesses the parent observation's solve settings.
double residualMagnitude() const
Accesses the residual magnitude for this control measure.
QSharedPointer< BundleObservation > m_parentObservation
Parent bundle observation.
void setSigma(double sigma)
Sets sigma (i.e.
int pointingNormalsBlockIndex() const
Accesses block index into normal equations matrix of pointing piecewise polynomial segment.
double sigma() const
Accesses the measure sigma.
int positionNormalsBlockIndex() const
Accesses block index into normal equations matrix of position piecewise polynomial segment.
void setRejected(bool reject)
Sets the BundleMeasure's status to rejected or not rejected.
int m_normalsPointingBlockIndex
block index into normal equations
double m_xFocalPlaneResidual
x focal plane residual in mm
ControlMeasure * m_controlMeasure
Contained control measure.
double focalPlaneMeasuredX() const
Accesses the measured focal plane x value for this control measure //TODO verify?
QSharedPointer< BundleImage > parentBundleImage()
Access the parent BundleImage for this bundle measure.
void setNormalsPositionBlockIndex(int index)
Sets block index into normal equations for position piecewise polynomial segment.
void setParentImage(QSharedPointer< BundleImage > image)
Sets the parent bundle image.
double m_yFocalPlaneResidual
y focal plane residual in mm
double weight() const
Accesses measure weight for bundle.
BundleMeasure & operator=(const BundleMeasure &src)
Assignment operator.
double sampleResidual() const
Accesses the sample residual for this control measure.
double xFocalPlaneResidual() const
Accesses the focal plane x-coordinate residual in millimeters.
void setFocalPlaneResidualsMillimeters()
Computes and sets measure focal plane residuals in millimeters.
QSharedPointer< BundleObservation > parentBundleObservation()
Accesses the parent BundleObservation for this bundle measure.
void setParentObservation(QSharedPointer< BundleObservation > observation)
Sets the parent bundle observation.
double sample() const
Accesses the current sample measurement for this control measure.
double focalPlaneComputedY() const
Accesses the computed focal plane y value for this control measure.
double line() const
Accesses the current line measurement for this control measure.
double yFocalPlaneResidual() const
Accesses the focal plane y-coordinate residual in millimeters.
int observationIndex() const
Accesses the observation index for the parent observation.
void setImage()
Sets the BundleMeasure's status to rejected or not rejected.
int m_normalsPositionBlockIndex
block index into normal equations
bool isRejected() const
Determines whether or not this BundleMeasure is rejected.
double m_sigma
measure uncertainty in mm
BundleControlPoint * m_parentControlPoint
Parent bundle control point that contains this bundle control measure.
QString cubeSerialNumber() const
Accesses the serial number of the cube containing this control measure.
BundleControlPoint * parentControlPoint()
Accesses the parent BundleControlPoint for this bundle measure.
void setNormalsPointingBlockIndex(int index)
Sets block index into normal equations for pointing piecewise polynomial segment.
double lineResidual() const
Accesses the line residual for this control measure.
Camera * camera() const
Accesses the associated camera for this bundle measure.
QSharedPointer< BundleImage > m_parentBundleImage
Parent image of this bundle control measure.
~BundleMeasure()
Destructor.
double focalPlaneComputedX() const
Accesses the computed focal plane x value for this control measure.
double m_weightSqrt
sqrt of measure weight
double focalPlaneMeasuredY() const
Accesses the measured focal plane y value for this control measure //TODO verify?
BundleMeasure(ControlMeasure *controlMeasure, BundleControlPoint *bundleControlPoint)
Constructor.
double weightSqrt() const
Accesses sqrt of measure weight for bundle.
double PixelPitch() const
Returns the pixel pitch.
virtual bool SetImage(const double sample, const double line)
Sets the sample/line values of the image to get the lat/lon values.
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
Status SetRejected(bool rejected)
Set "jigsaw" rejected flag for a measure.
double GetResidualMagnitude() const
Return Residual magnitude.
@ Programmer
This error is for when a programmer made an API call that was illegal.
This is free and unencumbered software released into the public domain.