9#include "Mariner10Camera.h"
20#include "CameraDetectorMap.h"
21#include "CameraFocalPlaneMap.h"
22#include "CameraGroundMap.h"
23#include "CameraSkyMap.h"
27#include "NaifStatus.h"
29#include "ReseauDistortionMap.h"
62 QString stime = inst[
"StartTime"];
65 startTime.setUtc((QString)inst[
"StartTime"]);
75 double sampleBoresight =
getDouble(ikernKey);
77 double lineBoresight =
getDouble(ikernKey);
79 focalMap->SetDetectorOrigin(sampleBoresight, lineBoresight);
83 QString spacecraft = (QString)inst[
"SpacecraftName"];
84 QString instId = (QString)inst[
"InstrumentId"];
86 if(instId ==
"M10_VIDICON_A") {
91 else if(instId ==
"M10_VIDICON_B") {
97 QString msg =
"File does not appear to be a Mariner10 image. InstrumentId ["
98 + instId +
"] is invalid Mariner 10 value.";
102 QString fname =
FileName(
"$mariner10/reseaus/mar10" + cam
109 string msg =
"Unable to create distortion map.";
144 double exposureDuration) {
145 pair<iTime, iTime> shuttertimes;
Convert between parent image coordinates and detector coordinates.
Convert between distorted focal plane and detector coordinates.
Convert between undistorted focal plane and ground coordinates.
QString m_spacecraftNameLong
Full spacecraft name.
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
void SetFocalLength()
Reads the focal length from the instrument kernel.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_instrumentNameShort
Shortened instrument name.
QString m_spacecraftNameShort
Shortened spacecraft name.
QString m_instrumentNameLong
Full instrument name.
Convert between undistorted focal plane and ra/dec coordinates.
IO Handler for Isis Cubes.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
File name manipulation and expansion.
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Generic class for Framing Cameras.
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
@ Programmer
This error is for when a programmer made an API call that was illegal.
Mariner10Camera(Cube &cube)
Creates a Mariner10 Camera Model.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Contains multiple PvlContainers.
Container for cube-like labels.
@ Traverse
Search child objects.
Distort/undistort focal plane coordinates.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
virtual iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
virtual SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
virtual SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Parse and return pieces of a time string.
This is free and unencumbered software released into the public domain.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Namespace for the standard library.