This class is used to modify and manage solve settings for 1 to many BundleObservations. More...
#include <BundleObservationSolveSettings.h>
Classes | |
class | XmlHandler |
Public Types | |
enum | InstrumentPointingSolveOption { NoPointingFactors = 0, AnglesOnly = 1, AnglesVelocity = 2, AnglesVelocityAcceleration = 3, AllPointingCoefficients = 4 } |
Options for how to solve for instrument pointing. More... | |
enum | InstrumentPositionSolveOption { NoPositionFactors = 0, PositionOnly = 1, PositionVelocity = 2, PositionVelocityAcceleration = 3, AllPositionCoefficients = 4 } |
Options for how to solve for instrument position. More... | |
Public Member Functions | |
BundleObservationSolveSettings () | |
Constructor with default parameter initializations. More... | |
BundleObservationSolveSettings (Project *project, XmlStackedHandlerReader *xmlReader) | |
Construct this BundleObservationSolveSettings object from XML. More... | |
BundleObservationSolveSettings (FileName xmlFile, Project *project, XmlStackedHandlerReader *xmlReader) | |
BundleObservationSolveSettings (const BundleObservationSolveSettings &src) | |
Constructs a BundleObservationSolveSettings from another one. More... | |
~BundleObservationSolveSettings () | |
Destructor. More... | |
BundleObservationSolveSettings & | operator= (const BundleObservationSolveSettings &src) |
Assigns the state of another BundleObservationSolveSettings to this one. More... | |
void | initialize () |
Initializes the default state of this BundleObservationSolveSettings. More... | |
PvlObject | pvlObject (QString name="") const |
Serializes this BundleObservationSolveSettings into a PvlObject. More... | |
void | setInstrumentId (QString instrumentId) |
Sets the instrument id for this observation. More... | |
QString | instrumentId () const |
Accesses the instrument id for this observation. More... | |
void | addObservationNumber (QString observationNumber) |
Associates an observation number with these solve settings. More... | |
QSet< QString > | observationNumbers () const |
Returns a list of observation numbers associated with these solve settings. More... | |
void | setInstrumentPointingSettings (InstrumentPointingSolveOption option, bool solveTwist, int ckDegree=2, int ckSolveDegree=2, bool solvePolynomialOverExisting=false, double anglesAprioriSigma=-1.0, double angularVelocityAprioriSigma=-1.0, double angularAccelerationAprioriSigma=-1.0) |
Sets the instrument pointing settings. More... | |
InstrumentPointingSolveOption | instrumentPointingSolveOption () const |
Accesses the instrument pointing solve option. More... | |
bool | solveTwist () const |
Accesses the flag for solving for twist. More... | |
int | ckDegree () const |
Accesses the degree of polynomial fit to original camera angles (ckDegree). More... | |
int | ckSolveDegree () const |
Accesses the degree of the camera angles polynomial being fit to in the bundle adjustment (ckSolveDegree). More... | |
int | numberCameraAngleCoefficientsSolved () const |
Accesses the number of camera angle coefficients in the solution. More... | |
bool | solvePolyOverPointing () const |
Whether or not the solve polynomial will be fit over the existing pointing polynomial. More... | |
QList< double > | aprioriPointingSigmas () const |
Accesses the a priori pointing sigmas. More... | |
SpiceRotation::Source | pointingInterpolationType () const |
Accesses the SpiceRotation interpolation type for the instrument pointing. More... | |
void | setInstrumentPositionSettings (InstrumentPositionSolveOption option, int spkDegree=2, int spkSolveDegree=2, bool positionOverHermite=false, double positionAprioriSigma=-1.0, double velocityAprioriSigma=-1.0, double accelerationAprioriSigma=-1.0) |
Sets the instrument pointing settings. More... | |
InstrumentPositionSolveOption | instrumentPositionSolveOption () const |
Accesses the instrument position solve option. More... | |
int | spkDegree () const |
Accesses the degree of the polynomial fit to the original camera position (spkDegree). More... | |
int | spkSolveDegree () const |
Accesses the degree of thecamera position polynomial being fit to in the bundle adjustment (spkSolveDegree). More... | |
int | numberCameraPositionCoefficientsSolved () const |
Accesses the number of camera position coefficients in the solution. More... | |
bool | solvePositionOverHermite () const |
Whether or not the polynomial for solving will be fit over an existing Hermite spline. More... | |
QList< double > | aprioriPositionSigmas () const |
Accesses the a priori position sigmas. More... | |
SpicePosition::Source | positionInterpolationType () const |
Accesses the SpicePosition interpolation type for the spacecraft position. More... | |
void | save (QXmlStreamWriter &stream, const Project *project) const |
Saves this BundleObservationSolveSettings to an xml stream. More... | |
QDataStream & | write (QDataStream &stream) const |
Writes this BundleObservationSolveSettings to a stream. More... | |
QDataStream & | read (QDataStream &stream) |
Reads in the state of a BundleObservationSolveSettings from a stream. More... | |
Static Public Member Functions | |
static InstrumentPointingSolveOption | stringToInstrumentPointingSolveOption (QString option) |
Translates a QString InstrumentPointingSolveOption to its enumerated value. More... | |
static QString | instrumentPointingSolveOptionToString (InstrumentPointingSolveOption option) |
Tranlsates an enumerated InstrumentPointingSolveOption value to its string representation. More... | |
static InstrumentPositionSolveOption | stringToInstrumentPositionSolveOption (QString option) |
Translates a QString InstrumentPositionSolveOption to its enumerated value. More... | |
static QString | instrumentPositionSolveOptionToString (InstrumentPositionSolveOption option) |
Translates an enumerated InstrumentPositionSolveOption to its string representation. More... | |
Private Attributes | |
QUuid * | m_id |
A unique ID for this object (useful for others to reference this object when saving to disk). More... | |
QString | m_instrumentId |
The spacecraft instrument id for this observation. More... | |
QSet< QString > | m_observationNumbers |
Associated observation numbers for these settings. More... | |
InstrumentPointingSolveOption | m_instrumentPointingSolveOption |
Option for how to solve for instrument pointing. More... | |
int | m_numberCamAngleCoefSolved |
The number of camera angle coefficients in solution. More... | |
int | m_ckDegree |
Degree of the polynomial fit to the original camera angles. More... | |
int | m_ckSolveDegree |
Degree of the camera angles polynomial being fit to in the bundle adjustment. More... | |
bool | m_solveTwist |
Solve for "twist" angle. More... | |
bool | m_solvePointingPolynomialOverExisting |
The polynomial will be fit over the existing pointing polynomial. More... | |
QList< double > | m_anglesAprioriSigma |
The image position a priori sigmas.The size of the list is equal to the number of coefficients in the solution. More... | |
SpiceRotation::Source | m_pointingInterpolationType |
SpiceRotation interpolation type. More... | |
InstrumentPositionSolveOption | m_instrumentPositionSolveOption |
Option for how to solve for instrument position. More... | |
int | m_numberCamPosCoefSolved |
The number of camera position coefficients in the solution. More... | |
int | m_spkDegree |
Degree of the polynomial fit to the original camera position. More... | |
int | m_spkSolveDegree |
Degree of the camera position polynomial being fit to in the bundle adjustment. More... | |
bool | m_solvePositionOverHermiteSpline |
The polynomial will be fit over an existing Hermite spline. More... | |
QList< double > | m_positionAprioriSigma |
The instrument pointing a priori sigmas. More... | |
SpicePosition::Source | m_positionInterpolationType |
SpicePosition interpolation types. More... | |
This class is used to modify and manage solve settings for 1 to many BundleObservations.
These settings indicate how any associated observations should be solved.
2014-07-09 Ken Edmundson - Original version.
2014-07-23 Jeannie Backer - Replace QVectors with QLists. Moved copy constructor above destructor. Moved operator= implementation to cpp file. Added methods to set/get instrument Id. Created setInstrumentPointingSettings() and setInstrumentPositionSettings() methods to check for variable dependencies before setting. Reordered so that all position methods were together and all pointing methods were together. Updated documentation. Added QDataStream >> and << operators and read/write methods. Added unitTest for BundleUtilities BundleObservationSolveSettings class.
2014-07-25 Jeannie Backer - For enums < 4, set solve degrees one less than enum value.
2014-12-02 Jeannie Backer - Undo last modification. While it makes sense, it was causing jigsaw to fail. Brought test coverage of this class to 99.403% scope.
2016-08-03 Jesse Mapel - Added BundleObservationSolveSettingsQsp definition. Fixes #4150.
2016-08-03 Ian Humphrey - Updated documentation and reviewed coding standards. Fixes #4078.
2016-08-18 Jesse Mapel - Changed to no longer inherit from QObject. Fixes #4192.
2016-10-13 Ian Humphrey - Added m_observationNumbers, addObservationNumber(), and observationNumbers() members to associate multiple observation types with these settings. Removed the setFromPvl() method. When re- implemented, it should be put in jigsaw. References #4293.
Figure out why solve degree and num coefficients does not match solve option.
Determine whether xml stuff needs a Project pointer.
Determine which XmlStackedHandlerReader constructor is preferred.
Definition at line 84 of file BundleObservationSolveSettings.h.
Options for how to solve for instrument pointing.
Definition at line 108 of file BundleObservationSolveSettings.h.
Options for how to solve for instrument position.
Definition at line 141 of file BundleObservationSolveSettings.h.
Isis::BundleObservationSolveSettings::BundleObservationSolveSettings | ( | ) |
Constructor with default parameter initializations.
Definition at line 34 of file BundleObservationSolveSettings.cpp.
References initialize().
Isis::BundleObservationSolveSettings::BundleObservationSolveSettings | ( | Project * | project, |
XmlStackedHandlerReader * | xmlReader | ||
) |
Construct this BundleObservationSolveSettings object from XML.
bundleSettingsFolder | Where this settings XML resides - /work/.../projectRoot/images/import1 |
xmlReader | An XML reader that's up to an <bundleSettings> tag. |
Definition at line 46 of file BundleObservationSolveSettings.cpp.
References initialize().
Isis::BundleObservationSolveSettings::BundleObservationSolveSettings | ( | const BundleObservationSolveSettings & | other | ) |
Constructs a BundleObservationSolveSettings from another one.
other | The BundleObservationSolveSettings to copy |
Definition at line 113 of file BundleObservationSolveSettings.cpp.
References m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_id, m_instrumentId, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_observationNumbers, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, and m_spkSolveDegree.
Isis::BundleObservationSolveSettings::~BundleObservationSolveSettings | ( | ) |
void Isis::BundleObservationSolveSettings::addObservationNumber | ( | QString | observationNumber | ) |
Associates an observation number with these solve settings.
These solve settings are to be applied to any associated observations.
observationNumber | QString observation number to associate with these settings. |
Definition at line 262 of file BundleObservationSolveSettings.cpp.
References m_observationNumbers.
QList< double > Isis::BundleObservationSolveSettings::aprioriPointingSigmas | ( | ) | const |
Accesses the a priori pointing sigmas.
Definition at line 512 of file BundleObservationSolveSettings.cpp.
References m_anglesAprioriSigma.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and pvlObject().
QList< double > Isis::BundleObservationSolveSettings::aprioriPositionSigmas | ( | ) | const |
Accesses the a priori position sigmas.
Definition at line 746 of file BundleObservationSolveSettings.cpp.
References m_positionAprioriSigma.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and pvlObject().
int Isis::BundleObservationSolveSettings::ckDegree | ( | ) | const |
Accesses the degree of polynomial fit to original camera angles (ckDegree).
Definition at line 470 of file BundleObservationSolveSettings.cpp.
References m_ckDegree.
Referenced by Isis::BundleSolutionInfo::outputHeader(), pvlObject(), read(), setInstrumentPointingSettings(), and Isis::BundleObservationSolveSettings::XmlHandler::startElement().
int Isis::BundleObservationSolveSettings::ckSolveDegree | ( | ) | const |
Accesses the degree of the camera angles polynomial being fit to in the bundle adjustment (ckSolveDegree).
Definition at line 481 of file BundleObservationSolveSettings.cpp.
References m_ckSolveDegree.
Referenced by Isis::BundleSolutionInfo::outputHeader(), pvlObject(), read(), setInstrumentPointingSettings(), and Isis::BundleObservationSolveSettings::XmlHandler::startElement().
void Isis::BundleObservationSolveSettings::initialize | ( | ) |
Initializes the default state of this BundleObservationSolveSettings.
Definition at line 198 of file BundleObservationSolveSettings.cpp.
References AnglesOnly, m_id, m_instrumentId, NoPositionFactors, setInstrumentPointingSettings(), and setInstrumentPositionSettings().
Referenced by BundleObservationSolveSettings().
QString Isis::BundleObservationSolveSettings::instrumentId | ( | ) | const |
Accesses the instrument id for this observation.
Definition at line 250 of file BundleObservationSolveSettings.cpp.
References m_instrumentId.
Referenced by pvlObject(), save(), and setInstrumentId().
BundleObservationSolveSettings::InstrumentPointingSolveOption Isis::BundleObservationSolveSettings::instrumentPointingSolveOption | ( | ) | const |
Accesses the instrument pointing solve option.
Definition at line 450 of file BundleObservationSolveSettings.cpp.
References m_instrumentPointingSolveOption.
Referenced by pvlObject().
|
static |
Tranlsates an enumerated InstrumentPointingSolveOption value to its string representation.
option | Enumerated InstrumentPointingSolveOption value |
IException::Programmer | "Unknown pointing solve option enum." |
Definition at line 342 of file BundleObservationSolveSettings.cpp.
References _FILEINFO_, AllPointingCoefficients, AnglesOnly, AnglesVelocity, AnglesVelocityAcceleration, NoPointingFactors, Isis::IException::Programmer, and Isis::toString().
Referenced by pvlObject(), and save().
BundleObservationSolveSettings::InstrumentPositionSolveOption Isis::BundleObservationSolveSettings::instrumentPositionSolveOption | ( | ) | const |
Accesses the instrument position solve option.
Definition at line 694 of file BundleObservationSolveSettings.cpp.
References m_instrumentPositionSolveOption.
Referenced by pvlObject().
|
static |
Translates an enumerated InstrumentPositionSolveOption to its string representation.
option | Enumerated InstrumentPositionSolveOption value |
IException::Programmer | "Unknown position solve option enum." |
Definition at line 592 of file BundleObservationSolveSettings.cpp.
References _FILEINFO_, AllPositionCoefficients, NoPositionFactors, PositionOnly, PositionVelocity, PositionVelocityAcceleration, Isis::IException::Programmer, and Isis::toString().
Referenced by pvlObject(), and save().
int Isis::BundleObservationSolveSettings::numberCameraAngleCoefficientsSolved | ( | ) | const |
Accesses the number of camera angle coefficients in the solution.
Definition at line 491 of file BundleObservationSolveSettings.cpp.
References m_numberCamAngleCoefSolved.
Referenced by Isis::BundleSolutionInfo::outputHeader(), Isis::BundleSolutionInfo::outputImagesCSVHeader(), and pvlObject().
int Isis::BundleObservationSolveSettings::numberCameraPositionCoefficientsSolved | ( | ) | const |
Accesses the number of camera position coefficients in the solution.
Definition at line 725 of file BundleObservationSolveSettings.cpp.
References m_numberCamPosCoefSolved.
Referenced by Isis::BundleSolutionInfo::outputHeader(), Isis::BundleSolutionInfo::outputImagesCSVHeader(), and pvlObject().
QSet< QString > Isis::BundleObservationSolveSettings::observationNumbers | ( | ) | const |
Returns a list of observation numbers associated with these solve settings.
Definition at line 272 of file BundleObservationSolveSettings.cpp.
References m_observationNumbers.
BundleObservationSolveSettings & Isis::BundleObservationSolveSettings::operator= | ( | const BundleObservationSolveSettings & | other | ) |
Assigns the state of another BundleObservationSolveSettings to this one.
other | The other BundleObservationSolveSettings to assign state from |
Definition at line 160 of file BundleObservationSolveSettings.cpp.
References m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_id, m_instrumentId, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_observationNumbers, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, and m_spkSolveDegree.
SpiceRotation::Source Isis::BundleObservationSolveSettings::pointingInterpolationType | ( | ) | const |
Accesses the SpiceRotation interpolation type for the instrument pointing.
Definition at line 522 of file BundleObservationSolveSettings.cpp.
References m_pointingInterpolationType.
Referenced by pvlObject().
SpicePosition::Source Isis::BundleObservationSolveSettings::positionInterpolationType | ( | ) | const |
Accesses the SpicePosition interpolation type for the spacecraft position.
Definition at line 756 of file BundleObservationSolveSettings.cpp.
References m_positionInterpolationType.
Referenced by pvlObject().
PvlObject Isis::BundleObservationSolveSettings::pvlObject | ( | QString | name = "" | ) | const |
Serializes this BundleObservationSolveSettings into a PvlObject.
name | Name of the pvl to create |
Definition at line 773 of file BundleObservationSolveSettings.cpp.
References Isis::PvlKeyword::addValue(), aprioriPointingSigmas(), aprioriPositionSigmas(), ckDegree(), ckSolveDegree(), instrumentId(), instrumentPointingSolveOption(), instrumentPointingSolveOptionToString(), instrumentPositionSolveOption(), instrumentPositionSolveOptionToString(), Isis::IsSpecial(), m_anglesAprioriSigma, m_positionAprioriSigma, NoPointingFactors, NoPositionFactors, numberCameraAngleCoefficientsSolved(), numberCameraPositionCoefficientsSolved(), pointingInterpolationType(), positionInterpolationType(), solvePolyOverPointing(), solvePositionOverHermite(), solveTwist(), spkDegree(), spkSolveDegree(), and Isis::toString().
Referenced by Isis::BundleSettings::pvlObject().
QDataStream & Isis::BundleObservationSolveSettings::read | ( | QDataStream & | stream | ) |
Reads in the state of a BundleObservationSolveSettings from a stream.
stream | QDataStream to read state from |
Definition at line 1162 of file BundleObservationSolveSettings.cpp.
References ckDegree(), ckSolveDegree(), m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_id, m_instrumentId, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, m_spkSolveDegree, spkDegree(), and spkSolveDegree().
Referenced by Isis::operator>>().
void Isis::BundleObservationSolveSettings::save | ( | QXmlStreamWriter & | stream, |
const Project * | project | ||
) | const |
Saves this BundleObservationSolveSettings to an xml stream.
stream | A QXmlStreamWriter to write to |
project | Pointer to the current project |
Definition at line 866 of file BundleObservationSolveSettings.cpp.
References instrumentId(), instrumentPointingSolveOptionToString(), instrumentPositionSolveOptionToString(), Isis::IsSpecial(), m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_id, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, m_spkSolveDegree, and Isis::toString().
void Isis::BundleObservationSolveSettings::setInstrumentId | ( | QString | instrumentId | ) |
Sets the instrument id for this observation.
instrumentId | QString instrument id |
Definition at line 240 of file BundleObservationSolveSettings.cpp.
References instrumentId(), and m_instrumentId.
void Isis::BundleObservationSolveSettings::setInstrumentPointingSettings | ( | InstrumentPointingSolveOption | option, |
bool | solveTwist, | ||
int | ckDegree = 2 , |
||
int | ckSolveDegree = 2 , |
||
bool | solvePolynomialOverExisting = false , |
||
double | anglesAprioriSigma = -1.0 , |
||
double | angularVelocityAprioriSigma = -1.0 , |
||
double | angularAccelerationAprioriSigma = -1.0 |
||
) |
Sets the instrument pointing settings.
option | Option for how to solve for instrument pointing |
solveTwist | Whether or not to solve for twist |
ckDegree | |
ckSolveDegree | |
solvePolynomialOverExisting | Indicates whether the polynomial will be fit over an existing pointing polynomial |
anglesAprioriSigma | A priori angle values |
angularVelocityAprioriSigma | A priori angular velocity |
angularAccelerationAprioriSigma | A priori angular acceleration |
Definition at line 368 of file BundleObservationSolveSettings.cpp.
References AllPointingCoefficients, ckDegree(), ckSolveDegree(), m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_instrumentPointingSolveOption, m_numberCamAngleCoefSolved, m_pointingInterpolationType, m_solvePointingPolynomialOverExisting, m_solveTwist, Isis::Null, Isis::SpiceRotation::PolyFunction, Isis::SpiceRotation::PolyFunctionOverSpice, and solveTwist().
Referenced by initialize().
void Isis::BundleObservationSolveSettings::setInstrumentPositionSettings | ( | InstrumentPositionSolveOption | option, |
int | spkDegree = 2 , |
||
int | spkSolveDegree = 2 , |
||
bool | positionOverHermite = false , |
||
double | positionAprioriSigma = -1.0 , |
||
double | velocityAprioriSigma = -1.0 , |
||
double | accelerationAprioriSigma = -1.0 |
||
) |
Sets the instrument pointing settings.
option | Option for how to solve the instrument position |
spkDegree | |
spkSolveDegree | |
positionOverHermite | Whether or not the polynomial will be fit over an existing Hermite spline |
positionAprioriSigma | A priori position sigma |
velocityAprioriSigma | A priori velocity sigma |
accelerationAprioriSigma | A priori acceleration sigma |
Definition at line 617 of file BundleObservationSolveSettings.cpp.
References AllPositionCoefficients, m_instrumentPositionSolveOption, m_numberCamPosCoefSolved, m_positionAprioriSigma, m_positionInterpolationType, m_solvePositionOverHermiteSpline, m_spkDegree, m_spkSolveDegree, Isis::Null, Isis::SpicePosition::PolyFunction, Isis::SpicePosition::PolyFunctionOverHermiteConstant, spkDegree(), and spkSolveDegree().
Referenced by initialize().
bool Isis::BundleObservationSolveSettings::solvePolyOverPointing | ( | ) | const |
Whether or not the solve polynomial will be fit over the existing pointing polynomial.
Definition at line 502 of file BundleObservationSolveSettings.cpp.
References m_solvePointingPolynomialOverExisting.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and pvlObject().
bool Isis::BundleObservationSolveSettings::solvePositionOverHermite | ( | ) | const |
Whether or not the polynomial for solving will be fit over an existing Hermite spline.
Definition at line 736 of file BundleObservationSolveSettings.cpp.
References m_solvePositionOverHermiteSpline.
Referenced by Isis::BundleSolutionInfo::outputHeader(), and pvlObject().
bool Isis::BundleObservationSolveSettings::solveTwist | ( | ) | const |
Accesses the flag for solving for twist.
Definition at line 460 of file BundleObservationSolveSettings.cpp.
References m_solveTwist.
Referenced by Isis::BundleSolutionInfo::outputHeader(), pvlObject(), setInstrumentPointingSettings(), and Isis::BundleObservationSolveSettings::XmlHandler::startElement().
int Isis::BundleObservationSolveSettings::spkDegree | ( | ) | const |
Accesses the degree of the polynomial fit to the original camera position (spkDegree).
Definition at line 704 of file BundleObservationSolveSettings.cpp.
References m_spkDegree.
Referenced by Isis::BundleSolutionInfo::outputHeader(), pvlObject(), read(), setInstrumentPositionSettings(), and Isis::BundleObservationSolveSettings::XmlHandler::startElement().
int Isis::BundleObservationSolveSettings::spkSolveDegree | ( | ) | const |
Accesses the degree of thecamera position polynomial being fit to in the bundle adjustment (spkSolveDegree).
Definition at line 715 of file BundleObservationSolveSettings.cpp.
References m_spkSolveDegree.
Referenced by Isis::BundleSolutionInfo::outputHeader(), pvlObject(), read(), setInstrumentPositionSettings(), and Isis::BundleObservationSolveSettings::XmlHandler::startElement().
|
static |
Translates a QString InstrumentPointingSolveOption to its enumerated value.
option | QString representation of the instrument pointing solve option |
IException::Unknown | "Unknown bundle instrument point solve option." |
Definition at line 293 of file BundleObservationSolveSettings.cpp.
References _FILEINFO_, AllPointingCoefficients, AnglesOnly, AnglesVelocity, AnglesVelocityAcceleration, NoPointingFactors, and Isis::IException::Unknown.
Referenced by Isis::BundleObservationSolveSettings::XmlHandler::startElement().
|
static |
Translates a QString InstrumentPositionSolveOption to its enumerated value.
option | QString representation of an instrument position solve option |
IExeption::Unknown | "Unknown bundle instrument position solve option." |
Definition at line 543 of file BundleObservationSolveSettings.cpp.
References _FILEINFO_, AllPositionCoefficients, NoPositionFactors, PositionOnly, PositionVelocity, PositionVelocityAcceleration, and Isis::IException::Unknown.
Referenced by Isis::BundleObservationSolveSettings::XmlHandler::startElement().
QDataStream & Isis::BundleObservationSolveSettings::write | ( | QDataStream & | stream | ) | const |
Writes this BundleObservationSolveSettings to a stream.
stream | QDataStream to write state to |
Definition at line 1132 of file BundleObservationSolveSettings.cpp.
References m_anglesAprioriSigma, m_ckDegree, m_ckSolveDegree, m_id, m_instrumentId, m_instrumentPointingSolveOption, m_instrumentPositionSolveOption, m_numberCamAngleCoefSolved, m_numberCamPosCoefSolved, m_pointingInterpolationType, m_positionAprioriSigma, m_positionInterpolationType, m_solvePointingPolynomialOverExisting, m_solvePositionOverHermiteSpline, m_solveTwist, m_spkDegree, and m_spkSolveDegree.
Referenced by Isis::operator<<().
|
private |
The image position a priori sigmas.The size of the list is equal to the number of coefficients in the solution.
An Isis::Null value implies no weighting will be applied.
Definition at line 222 of file BundleObservationSolveSettings.h.
Referenced by aprioriPointingSigmas(), BundleObservationSolveSettings(), operator=(), pvlObject(), read(), save(), setInstrumentPointingSettings(), and write().
|
private |
Degree of the polynomial fit to the original camera angles.
Definition at line 215 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), ckDegree(), operator=(), read(), save(), setInstrumentPointingSettings(), and write().
|
private |
Degree of the camera angles polynomial being fit to in the bundle adjustment.
Definition at line 217 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), ckSolveDegree(), operator=(), read(), save(), setInstrumentPointingSettings(), and write().
|
private |
A unique ID for this object (useful for others to reference this object when saving to disk).
Definition at line 206 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), initialize(), operator=(), read(), save(), write(), and ~BundleObservationSolveSettings().
|
private |
The spacecraft instrument id for this observation.
Definition at line 207 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), initialize(), instrumentId(), operator=(), read(), setInstrumentId(), and write().
|
private |
Option for how to solve for instrument pointing.
Definition at line 212 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), instrumentPointingSolveOption(), operator=(), read(), save(), setInstrumentPointingSettings(), and write().
|
private |
Option for how to solve for instrument position.
Definition at line 238 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), instrumentPositionSolveOption(), operator=(), read(), save(), setInstrumentPositionSettings(), and write().
|
private |
The number of camera angle coefficients in solution.
Definition at line 213 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), numberCameraAngleCoefficientsSolved(), operator=(), read(), save(), setInstrumentPointingSettings(), and write().
|
private |
The number of camera position coefficients in the solution.
Definition at line 239 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), numberCameraPositionCoefficientsSolved(), operator=(), read(), save(), setInstrumentPositionSettings(), and write().
|
private |
Associated observation numbers for these settings.
Definition at line 208 of file BundleObservationSolveSettings.h.
Referenced by addObservationNumber(), BundleObservationSolveSettings(), observationNumbers(), and operator=().
|
private |
SpiceRotation interpolation type.
Defined in SpiceRotation.cpp, these types are: 1) Spice: directly from kernels, 2) Nadir: Nadir pointing, 3) Memcache: from cached table, 4) PolyFunction: from nth degree polynomial, 5) PolyFunctionOverSpice: kernels plus nth degree polynomial.
Definition at line 227 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), pointingInterpolationType(), read(), save(), setInstrumentPointingSettings(), and write().
|
private |
The instrument pointing a priori sigmas.
The size of the list is equal to the number of coefficients in the solution. An Isis:Null value implies no weighting will be applied.
Definition at line 247 of file BundleObservationSolveSettings.h.
Referenced by aprioriPositionSigmas(), BundleObservationSolveSettings(), operator=(), pvlObject(), read(), save(), setInstrumentPositionSettings(), and write().
|
private |
SpicePosition interpolation types.
Defined in SpicePosition.cpp, these types are: 1) Spice: read directly from kernels, 2) Memcache: read from cached table, 3) HermiteCache: read from splined table, 4) PolyFunction: calced from nth degree polynomial, 5) PolyFunctionOverHermiteConstant: read from splined table and adding nth degree polynomial.
Definition at line 252 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), positionInterpolationType(), read(), save(), setInstrumentPositionSettings(), and write().
|
private |
The polynomial will be fit over the existing pointing polynomial.
Definition at line 220 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), read(), save(), setInstrumentPointingSettings(), solvePolyOverPointing(), and write().
|
private |
The polynomial will be fit over an existing Hermite spline.
Definition at line 245 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), read(), save(), setInstrumentPositionSettings(), solvePositionOverHermite(), and write().
|
private |
Solve for "twist" angle.
Definition at line 219 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), read(), save(), setInstrumentPointingSettings(), solveTwist(), and write().
|
private |
Degree of the polynomial fit to the original camera position.
Definition at line 241 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), read(), save(), setInstrumentPositionSettings(), spkDegree(), and write().
|
private |
Degree of the camera position polynomial being fit to in the bundle adjustment.
Definition at line 243 of file BundleObservationSolveSettings.h.
Referenced by BundleObservationSolveSettings(), operator=(), read(), save(), setInstrumentPositionSettings(), spkSolveDegree(), and write().
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the ISIS Support Center File Modified: 07/12/2023 23:35:08 |