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
117 +
"MasterReseaus.pvl").expanded();
123 string msg =
"Unable to create distortion map.";
158 double exposureDuration) {
159 pair<iTime, iTime> shuttertimes;
161 shuttertimes.first = time - (exposureDuration / 2.0);
163 shuttertimes.second = time + (exposureDuration / 2.0);
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)
SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
QString m_instrumentNameLong
Full instrument name.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
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.
#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...
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.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Convert between undistorted focal plane and ra/dec coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
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.