Isis 3 Programmer Reference
BundleImage.cpp
1 
7 /* SPDX-License-Identifier: CC0-1.0 */
8 
9 #include "BundleImage.h"
10 
11 #include "BundleObservation.h"
12 #include "Camera.h"
13 
14 namespace Isis {
15 
16 
25  BundleImage::BundleImage(Camera *camera, QString serialNumber, QString fileName) {
26  m_camera = camera;
29  }
30 
31 
38  m_camera = other.m_camera;
41  m_fileName = other.m_fileName;
42  }
43 
44 
49  }
50 
51 
60  if (&other != this) {
61  m_camera = other.m_camera;
64  m_fileName = other.m_fileName;
65  }
66  return *this;
67  }
68 
69 
76 
77 
78  // TODO: BundleImage's setParentObservation should take a QSharedPointer. JAM
79 
81  }
82 
83 
90  return m_camera;
91  }
92 
93 
100  return m_parentObservation;
101  }
102 
103 
110  return m_serialNumber;
111  }
112 
113 
120  return m_fileName;
121  }
122 }
Isis::BundleImage::fileName
QString fileName()
Returns the file name for the BundleImage.
Definition: BundleImage.cpp:119
Isis::BundleImage::parentObservation
QSharedPointer< BundleObservation > parentObservation()
Returns the parent BundleObservation object.
Definition: BundleImage.cpp:99
Isis::BundleImage::m_parentObservation
QSharedPointer< BundleObservation > m_parentObservation
parent BundleObservation
Definition: BundleImage.h:61
QSharedPointer
Definition: JigsawWorkOrder.h:28
Isis::Camera
Definition: Camera.h:236
Isis::BundleImage::m_serialNumber
QString m_serialNumber
The serial number for the image.
Definition: BundleImage.h:62
Isis::BundleImage::setParentObservation
void setParentObservation(QSharedPointer< BundleObservation > parentObservation)
Sets the parent BundleObservation object.
Definition: BundleImage.cpp:75
Isis::BundleImage::camera
Camera * camera()
Returns the camera model used for the BundleImage.
Definition: BundleImage.cpp:89
Isis::BundleImage::m_fileName
QString m_fileName
The file name of the image.
Definition: BundleImage.h:63
Isis::BundleImage
This class hold image information that BundleAdjust needs to run correctly.Definition for a BundleIma...
Definition: BundleImage.h:36
Isis::BundleImage::serialNumber
QString serialNumber()
Returns the serial number for the BundleImage.
Definition: BundleImage.cpp:109
Isis::BundleImage::operator=
BundleImage & operator=(const BundleImage &other)
An assignment operator to set this BundleImage to another BundleImage object.
Definition: BundleImage.cpp:59
Isis::BundleImage::m_camera
Camera * m_camera
The camera model for the image.
Definition: BundleImage.h:60
Isis::BundleImage::~BundleImage
~BundleImage()
Destroys a BundleImage object.
Definition: BundleImage.cpp:48
Isis::BundleImage::BundleImage
BundleImage(Camera *camera, QString serialNumber, QString fileName)
Constructs a BundleImage with the given camera pointer, serial number, and filename.
Definition: BundleImage.cpp:25
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16