76 QString stime = inst[
"StartTime"];
79 startTime.setUtc((QString)inst[
"StartTime"]);
89 double sampleBoresight =
getDouble(ikernKey);
91 double lineBoresight =
getDouble(ikernKey);
97 QString spacecraft = (QString)inst[
"SpacecraftName"];
98 QString instId = (QString)inst[
"InstrumentId"];
100 if(instId ==
"M10_VIDICON_A") {
105 else if(instId ==
"M10_VIDICON_B") {
111 QString msg =
"File does not appear to be a Mariner10 image. InstrumentId [" 112 + instId +
"] is invalid Mariner 10 value.";
116 QString fname =
FileName(
"$mariner10/reseaus/mar10" + cam
123 string msg =
"Unable to create distortion map.";
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.
Isis::Camera * Mariner10CameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a Mariner10Camera object.
File name manipulation and expansion.
Parse and return pieces of a time string.
virtual void SetAberrationCorrection(const QString &correction)
Set the aberration correction (light time)
QString m_instrumentNameLong
Full instrument name.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
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.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
Convert between parent image coordinates and detector coordinates.
void SetFrame(int frameCode)
Change the frame to the given frame code.
Convert between undistorted focal plane and ground coordinates.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
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.
A type of error that could only have occurred due to a mistake on the user's part (e...
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
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.
Namespace for ISIS/Bullet specific routines.
SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
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.
Generic class for Framing Cameras.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions...