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 = (QString)inst[
"SpacecraftName"];
84 QString instId = (QString)inst[
"InstrumentId"];
94 double time =
iTime((QString)inst[
"StartTime"]).
Et();
115 if ( spacecraft.contains(
"3") ) {
118 else if ( spacecraft.contains(
"4") ) {
121 else if ( spacecraft.contains(
"5") ) {
125 QString msg =
"File does not appear to be an LunarOrbiter 3,4,5 image";
158 double exposureDuration) {
159 pair<iTime, iTime> shuttertimes;
SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
void SetFocalLength()
Reads the focal length from the instrument kernel.
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.
Distort/undistort focal plane coordinates.
virtual void SetAberrationCorrection(const QString &correction)
Set the aberration correction (light time)
Defines the Lunar Orbiter High Resolution camera class.
QString m_instrumentNameLong
Full instrument name.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
void SetDistortion(const int naifIkCode)
Load LO High Resolution Camera perspective & distortion coefficients.
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.
Convert between parent image coordinates and detector coordinates.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Convert between undistorted focal plane and ground coordinates.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
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.
A type of error that could only have occurred due to a mistake on the user's part (e...
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...
Isis::Camera * LoHighCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a LoHighCamera object.
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.
Namespace for ISIS/Bullet specific routines.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
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.
int m_ckFrameId
LO 3,4,5 CK frame id.
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...