Isis Developer Reference
|
A container class for a ControlMeasure. More...
#include <BundleMeasure.h>
Public Member Functions | |
BundleMeasure (ControlMeasure *controlMeasure, BundleControlPoint *bundleControlPoint) | |
Constructor. More... | |
BundleMeasure (const BundleMeasure &src) | |
Copy constructor. More... | |
~BundleMeasure () | |
Destructor. More... | |
BundleMeasure & | operator= (const BundleMeasure &src) |
Assignment operator. More... | |
void | setParentObservation (QSharedPointer< BundleObservation > observation) |
Sets the parent bundle observation. More... | |
void | setParentImage (QSharedPointer< BundleImage > image) |
Sets the parent bundle image. More... | |
void | setRejected (bool reject) |
Sets the BundleMeasure's status to rejected or not rejected. More... | |
bool | isRejected () const |
Determines whether or not this BundleMeasure is rejected. More... | |
Camera * | camera () const |
Accesses the associated camera for this bundle measure. More... | |
BundleControlPoint * | parentControlPoint () |
Accesses the parent BundleControlPoint for this bundle measure. More... | |
QSharedPointer< BundleImage > | parentBundleImage () |
Access the parent BundleImage for this bundle measure. More... | |
QSharedPointer< BundleObservation > | parentBundleObservation () |
Accesses the parent BundleObservation for this bundle measure. More... | |
const QSharedPointer< BundleObservationSolveSettings > | observationSolveSettings () |
Accesses the parent observation's solve settings. More... | |
double | sample () const |
Accesses the current sample measurement for this control measure. More... | |
double | sampleResidual () const |
Accesses the sample residual for this control measure. More... | |
double | line () const |
Accesses the current line measurement for this control measure. More... | |
double | lineResidual () const |
Accesses the line residual for this control measure. More... | |
double | residualMagnitude () const |
Accesses the residual magnitude for this control measure. More... | |
QString | cubeSerialNumber () const |
Accesses the serial number of the cube containing this control measure. More... | |
double | focalPlaneComputedX () const |
Accesses the computed focal plane x value for this control measure. More... | |
double | focalPlaneComputedY () const |
Accesses the computed focal plane y value for this control measure. More... | |
double | focalPlaneMeasuredX () const |
Accesses the measured focal plane x value for this control measure //TODO verify? More... | |
double | focalPlaneMeasuredY () const |
Accesses the measured focal plane y value for this control measure //TODO verify? More... | |
int | observationIndex () const |
Accesses the observation index for the parent observation. More... | |
A container class for a ControlMeasure.
This class is used as a wrapper around a ControlMeasure to provide the necessary information for BundleAdjust. This class can be used to get the parent bundle observation solve settings for observation mode adjustment.
Note that a BundleMeasure should be created from a non-ignored ControlMeasure.
Isis::BundleMeasure::BundleMeasure | ( | ControlMeasure * | controlMeasure, |
BundleControlPoint * | bundleControlPoint | ||
) |
Constructor.
Constructs a BundleMeasure from a ControlMeasure with the passed BundleControlPoint as its parent control point
controlMeasure | Pointer to the ControlMeasure to store |
bundleControlPoint | Pointer to the BundleControlPoint that contains this BundleMeasure |
Isis::BundleMeasure::BundleMeasure | ( | const BundleMeasure & | src | ) |
Copy constructor.
Constructs a BundleMeasure from another BundleMeasure
src | The source BundleMeasure to copy |
Isis::BundleMeasure::~BundleMeasure | ( | ) |
Destructor.
Camera * Isis::BundleMeasure::camera | ( | ) | const |
Accesses the associated camera for this bundle measure.
References Isis::ControlMeasure::Camera().
Referenced by Isis::IsisBundleObservation::computeImagePartials(), Isis::CsmBundleObservation::computeImagePartials(), Isis::IsisBundleObservation::computeObservationValue(), Isis::IsisBundleObservation::computePoint3DPartials(), Isis::CsmBundleObservation::computePoint3DPartials(), Isis::IsisBundleObservation::computeRHSPartials(), Isis::CsmBundleObservation::computeRHSPartials(), and Isis::IsisBundleObservation::computeTargetPartials().
QString Isis::BundleMeasure::cubeSerialNumber | ( | ) | const |
Accesses the serial number of the cube containing this control measure.
References Isis::ControlMeasure::GetCubeSerialNumber().
Referenced by Isis::IsisBundleObservation::computeRHSPartials(), and Isis::CsmBundleObservation::computeRHSPartials().
double Isis::BundleMeasure::focalPlaneComputedX | ( | ) | const |
Accesses the computed focal plane x value for this control measure.
References Isis::ControlMeasure::GetFocalPlaneComputedX().
double Isis::BundleMeasure::focalPlaneComputedY | ( | ) | const |
Accesses the computed focal plane y value for this control measure.
References Isis::ControlMeasure::GetFocalPlaneComputedY().
double Isis::BundleMeasure::focalPlaneMeasuredX | ( | ) | const |
Accesses the measured focal plane x value for this control measure //TODO verify?
References Isis::ControlMeasure::GetFocalPlaneMeasuredX().
Referenced by Isis::IsisBundleObservation::computeRHSPartials().
double Isis::BundleMeasure::focalPlaneMeasuredY | ( | ) | const |
Accesses the measured focal plane y value for this control measure //TODO verify?
References Isis::ControlMeasure::GetFocalPlaneMeasuredY().
Referenced by Isis::IsisBundleObservation::computeRHSPartials().
bool Isis::BundleMeasure::isRejected | ( | ) | const |
Determines whether or not this BundleMeasure is rejected.
References Isis::ControlMeasure::IsRejected().
double Isis::BundleMeasure::line | ( | ) | const |
Accesses the current line measurement for this control measure.
References Isis::ControlMeasure::GetLine().
Referenced by Isis::CsmBundleObservation::computeRHSPartials().
double Isis::BundleMeasure::lineResidual | ( | ) | const |
Accesses the line residual for this control measure.
References Isis::ControlMeasure::GetLineResidual().
int Isis::BundleMeasure::observationIndex | ( | ) | const |
Accesses the observation index for the parent observation.
IException::Programmer | "In BundleMeasure::observationIndex: parent observation has not been set." |
References _FILEINFO_, and Isis::IException::Programmer.
const QSharedPointer< BundleObservationSolveSettings > Isis::BundleMeasure::observationSolveSettings | ( | ) |
Accesses the parent observation's solve settings.
IException::Programmer | "In BundleMeasure::observationSolveSettings: parent observation has not been set." |
References _FILEINFO_, and Isis::IException::Programmer.
BundleMeasure & Isis::BundleMeasure::operator= | ( | const BundleMeasure & | src | ) |
Assignment operator.
Assigns the state of this BundleMeasure from another BundleMeasure
src | The source BundleMeasure to assign state from |
QSharedPointer< BundleImage > Isis::BundleMeasure::parentBundleImage | ( | ) |
Access the parent BundleImage for this bundle measure.
QSharedPointer< BundleObservation > Isis::BundleMeasure::parentBundleObservation | ( | ) |
Accesses the parent BundleObservation for this bundle measure.
BundleControlPoint * Isis::BundleMeasure::parentControlPoint | ( | ) |
Accesses the parent BundleControlPoint for this bundle measure.
Referenced by Isis::CsmBundleObservation::computeImagePartials(), Isis::IsisBundleObservation::computePoint3DPartials(), Isis::CsmBundleObservation::computePoint3DPartials(), Isis::IsisBundleObservation::computeRHSPartials(), Isis::CsmBundleObservation::computeRHSPartials(), and Isis::IsisBundleObservation::computeTargetPartials().
double Isis::BundleMeasure::residualMagnitude | ( | ) | const |
Accesses the residual magnitude for this control measure.
References Isis::ControlMeasure::GetResidualMagnitude().
double Isis::BundleMeasure::sample | ( | ) | const |
Accesses the current sample measurement for this control measure.
References Isis::ControlMeasure::GetSample().
Referenced by Isis::CsmBundleObservation::computeRHSPartials().
double Isis::BundleMeasure::sampleResidual | ( | ) | const |
Accesses the sample residual for this control measure.
References Isis::ControlMeasure::GetSampleResidual().
void Isis::BundleMeasure::setParentImage | ( | QSharedPointer< BundleImage > | image | ) |
Sets the parent bundle image.
image | Pointer to the parent BundleImage |
void Isis::BundleMeasure::setParentObservation | ( | QSharedPointer< BundleObservation > | observation | ) |
Sets the parent bundle observation.
observation | Pointer to the parent BundleObservation |
void Isis::BundleMeasure::setRejected | ( | bool | reject | ) |
Sets the BundleMeasure's status to rejected or not rejected.
reject | True will set the BundleMeasure to rejected. |
References Isis::ControlMeasure::SetRejected().