74 QString msg =
"File does not appear to be a Lunar Orbiter image: ";
76 msg +=
" is not a supported instrument kernel code for Lunar Orbiter.";
83 QString spacecraft = inst[
"SpacecraftName"];
84 QString instId = inst[
"InstrumentId"];
94 string msg =
"Unknown focal plane map type: ";
95 msg +=
"Labels must include fiducials or boresight";
107 double time =
iTime((QString)inst[
"StartTime"]).
Et();
119 double boresightSample = inst[
"BoresightSample"];
120 double boresightLine = inst[
"BoresightLine"];
136 if ( spacecraft.contains(
"3") ) {
139 else if ( spacecraft.contains(
"4") ) {
142 else if ( spacecraft.contains(
"5") ) {
146 QString msg =
"File does not appear to be an LunarOrbiter 3,4,5 image";
180 double exposureDuration) {
181 pair<iTime, iTime> shuttertimes;
SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
void SetFocalLength()
Reads the focal length from the instrument kernel.
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Parse and return pieces of a time string.
virtual void SetAberrationCorrection(const QString &correction)
Set the aberration correction (light time)
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
QString m_instrumentNameLong
Full instrument name.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
This error is for when a programmer made an API call that was illegal.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Convert between parent image coordinates and detector coordinates.
Convert between undistorted focal plane and ground coordinates.
int m_ckFrameId
LO 3,4,5 CK frame id.
Convert between distorted focal plane and detector coordinates.
Fiducial Focal Plane Map.
QString m_instrumentNameShort
Shortened instrument name.
Defines the Lunar Orbiter Medium Resolution camera class.
Distort/undistort focal plane coordinates.
Contains multiple PvlContainers.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
#define _FILEINFO_
Macro for the filename and line number.
FocalPlaneMapType
This enum defines the types of focal plane maps supported in this class.
A type of error that could only have occurred due to a mistake on the user's part (e...
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
Computes map from image coordinates to focal plane based on fiducials.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Container for cube-like labels.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_spacecraftNameLong
Full spacecraft name.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Isis::Camera * LoMediumCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a LoMediumCamera object.
Namespace for ISIS/Bullet specific routines.
void SetDistortion(const int naifIkCode)
Load LO Medium Resolution Camera perspective & distortion coefficients.
Convert between undistorted focal plane and ra/dec coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
Boresight Focal Plane Map.
Generic class for Framing Cameras.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
IO Handler for Isis Cubes.
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions...