Isis Developer Reference
BundleObservationVector.h
Go to the documentation of this file.
1#ifndef BundleObservationVector_h
2#define BundleObservationVector_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <QList>
13#include <QMap>
14#include <QMultiMap>
15#include <QSharedPointer>
16#include <QString>
17#include <QVector>
18
19#include "BundleImage.h"
20#include "BundleObservation.h"
23#include "BundleSettings.h"
24
25namespace Isis {
26
27
57 class BundleObservationVector : public QVector<BundleObservationQsp> {
58
59 public:
63
66 QString observationNumber,
67 QString instrumentId,
68 BundleSettingsQsp bundleSettings);
69
70 int numberParameters();
71
73
74 double vtpvContribution();
75
76 QList<QString> instrumentIds() const;
77 QList<BundleObservationQsp> observationsByInstId(QString instrumentId) const;
78
79 private:
81 QMap<QString, BundleObservationQsp> m_observationNumberToObservationMap;
83 QMap<QString, BundleObservationQsp> m_imageSerialToObservationMap;
85 QMultiMap<QString, BundleObservationQsp> m_instIdToObservationMap;
86 };
87}
88
89#endif // BundleObservationVector_h
This class is a container class for BundleObservations.
Definition BundleObservationVector.h:57
double vtpvContribution()
Compute vtpv, the weighted sum of squares of constrained image parameter residuals.
Definition BundleObservationVector.cpp:263
BundleObservationQsp addNew(BundleImageQsp image, QString observationNumber, QString instrumentId, BundleSettingsQsp bundleSettings)
Adds a new BundleObservation to this vector or fetches an existing BundleObservation if this vector a...
Definition BundleObservationVector.cpp:98
~BundleObservationVector()
Destructor.
Definition BundleObservationVector.cpp:50
QList< QString > instrumentIds() const
Get a list of all instrument IDs that there are observations for.
Definition BundleObservationVector.cpp:241
BundleObservationVector & operator=(const BundleObservationVector &src)
Assignment operator.
Definition BundleObservationVector.cpp:64
int numberParameters()
Returns the sum of the position parameters and pointing parameters for the contained BundleObservatio...
Definition BundleObservationVector.cpp:207
BundleObservationQsp observationByCubeSerialNumber(QString cubeSerialNumber)
Accesses a BundleObservation associated with the passed serial number.
Definition BundleObservationVector.cpp:228
BundleObservationVector()
Constructs an empty BundleObservationVector.
Definition BundleObservationVector.cpp:26
QList< BundleObservationQsp > observationsByInstId(QString instrumentId) const
Get all of the observations with a specific instrument ID.
Definition BundleObservationVector.cpp:250
This is free and unencumbered software released into the public domain.
Definition Calculator.h:18
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16