75 QString spacecraft = (QString)inst[
"SpacecraftName"];
76 QString instId = (QString)inst[
"InstrumentId"];
78 QString reseauFileName =
"";
81 if (spacecraft ==
"VOYAGER_1") {
87 reseauFileName +=
"1/reseaus/vg1";
89 if (instId ==
"NARROW_ANGLE_CAMERA") {
90 reseauFileName +=
"na";
94 else if (instId ==
"WIDE_ANGLE_CAMERA") {
95 reseauFileName +=
"wa";
100 QString msg =
"File does not appear to be a Voyager image. InstrumentId [" 101 + instId +
"] is invalid Voyager value.";
105 else if (spacecraft ==
"VOYAGER_2") {
111 reseauFileName +=
"2/reseaus/vg2";
113 if (instId ==
"NARROW_ANGLE_CAMERA") {
114 reseauFileName +=
"na";
118 else if (instId ==
"WIDE_ANGLE_CAMERA") {
119 reseauFileName +=
"wa";
124 QString msg =
"File does not appear to be a Voyager image. InstrumentId [" 125 + instId +
"] is invalid Voyager value.";
130 QString msg =
"File does not appear to be a Voyager image. SpacecraftName [" 131 + spacecraft +
"] is invalid Voyager value.";
142 reseauFileName =
"$voyager" + reseauFileName +
"MasterReseaus.pvl";
143 FileName masterReseaus(reseauFileName);
159 startTime.setUtc((QString)inst[
"StartTime"]);
203 double exposureDuration) {
204 pair<iTime, iTime> shuttertimes;
206 shuttertimes.second =
time - 2;
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.
int p_spkTargetId
Spacecraft Kernel Target ID.
File name manipulation and expansion.
Parse and return pieces of a time string.
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.
Convert between parent image coordinates and detector coordinates.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
Convert between undistorted focal plane and ground coordinates.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
Isis::Camera * VoyagerCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a VoyagerCamera object.
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...
int p_ckFrameId
"Camera-matrix" Kernel Frame ID
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.
void print() const
Prints a string representation of this exception to stderr.
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.
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.
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...