Isis 3 Programmer Reference
|
This class hold image information that BundleAdjust needs to run correctly.Definition for a BundleImageQsp, a shared pointer to a BundleImage. More...
#include <BundleImage.h>
Public Member Functions | |
BundleImage (Camera *camera, QString serialNumber, QString fileName) | |
Constructs a BundleImage with the given camera pointer, serial number, and filename. More... | |
BundleImage (const BundleImage &other) | |
Constructs a BundleImage from another BundleImage object. More... | |
~BundleImage () | |
Destroys a BundleImage object. More... | |
BundleImage & | operator= (const BundleImage &other) |
An assignment operator to set this BundleImage to another BundleImage object. More... | |
void | setParentObservation (QSharedPointer< BundleObservation > parentObservation) |
Sets the parent BundleObservation object. More... | |
Camera * | camera () |
Returns the camera model used for the BundleImage. More... | |
QSharedPointer< BundleObservation > | parentObservation () |
Returns the parent BundleObservation object. More... | |
QString | serialNumber () |
Returns the serial number for the BundleImage. More... | |
QString | fileName () |
Returns the file name for the BundleImage. More... | |
Private Attributes | |
Camera * | m_camera |
The camera model for the image. More... | |
QSharedPointer< BundleObservation > | m_parentObservation |
parent BundleObservation More... | |
QString | m_serialNumber |
The serial number for the image. More... | |
QString | m_fileName |
The file name of the image. More... | |
This class hold image information that BundleAdjust needs to run correctly.Definition for a BundleImageQsp, a shared pointer to a BundleImage.
2014-05-22 Ken Edmundson - Original Version
2014-07-17 Kimberly Oyama - Updated to better meet coding standards.
2014-02-20 Jeannie Backer - Added assignment operator. Updated to better meet coding standards.
2016-06-27 Jesse Mapel - Updated documentation in preparation for merging from IPCE to ISIS. Fixes #4076.
2016-08-03 Jesse Mapel - Changed parent observation to a QSharedPointer. Fixes #4150.
2016-08-18 Jesse Mapel - Changed to no longer inherit from QObject. Fixes #4192.
Definition at line 51 of file BundleImage.h.
Isis::BundleImage::BundleImage | ( | Camera * | camera, |
QString | serialNumber, | ||
QString | fileName | ||
) |
Constructs a BundleImage with the given camera pointer, serial number, and filename.
Parent observation defaults to NULL.
camera | The camera model for the BundleImage |
serialNumber | The serial number for the BundleImage |
fileName | The file name for the BundleImage |
Definition at line 17 of file BundleImage.cpp.
References camera(), fileName(), m_camera, m_fileName, m_serialNumber, and serialNumber().
Isis::BundleImage::BundleImage | ( | const BundleImage & | other | ) |
Constructs a BundleImage from another BundleImage object.
other | The BundleImage to copy from. |
Definition at line 29 of file BundleImage.cpp.
References m_camera, m_fileName, m_parentObservation, and m_serialNumber.
Isis::BundleImage::~BundleImage | ( | ) |
Destroys a BundleImage object.
Definition at line 40 of file BundleImage.cpp.
Camera * Isis::BundleImage::camera | ( | ) |
Returns the camera model used for the BundleImage.
Definition at line 81 of file BundleImage.cpp.
References m_camera.
Referenced by BundleImage().
QString Isis::BundleImage::fileName | ( | ) |
Returns the file name for the BundleImage.
Definition at line 111 of file BundleImage.cpp.
References m_fileName.
Referenced by BundleImage().
BundleImage & Isis::BundleImage::operator= | ( | const BundleImage & | other | ) |
An assignment operator to set this BundleImage to another BundleImage object.
other | The BundleImage to copy from. |
Definition at line 51 of file BundleImage.cpp.
References m_camera, m_fileName, m_parentObservation, and m_serialNumber.
QSharedPointer< BundleObservation > Isis::BundleImage::parentObservation | ( | ) |
Returns the parent BundleObservation object.
Definition at line 91 of file BundleImage.cpp.
References m_parentObservation.
Referenced by setParentObservation().
QString Isis::BundleImage::serialNumber | ( | ) |
Returns the serial number for the BundleImage.
Definition at line 101 of file BundleImage.cpp.
References m_serialNumber.
Referenced by BundleImage().
void Isis::BundleImage::setParentObservation | ( | QSharedPointer< BundleObservation > | parentObservation | ) |
Sets the parent BundleObservation object.
parentObservation | The parent BundleObservation. |
Definition at line 67 of file BundleImage.cpp.
References m_parentObservation, and parentObservation().
|
private |
The camera model for the image.
Definition at line 75 of file BundleImage.h.
Referenced by BundleImage(), camera(), and operator=().
|
private |
The file name of the image.
Definition at line 78 of file BundleImage.h.
Referenced by BundleImage(), fileName(), and operator=().
|
private |
parent BundleObservation
Definition at line 76 of file BundleImage.h.
Referenced by BundleImage(), operator=(), parentObservation(), and setParentObservation().
|
private |
The serial number for the image.
Definition at line 77 of file BundleImage.h.
Referenced by BundleImage(), operator=(), and serialNumber().