9#include "IssNACamera.h"
13#include "CameraDetectorMap.h"
14#include "CameraFocalPlaneMap.h"
15#include "CameraGroundMap.h"
16#include "CameraSkyMap.h"
19#include "NaifStatus.h"
20#include "RadialDistortionMap.h"
45 double focalLength = 0.0;
48 QString key = QString(
"INS%1_%2_FOCAL_LENGTH").
49 arg(
naifIkCode()).arg(bandBin[
"FilterName"][0]);
50 key = key.replace(
"/",
"_");
55 QString key =
"INS-82360_DEFAULT_FOCAL_LENGTH";
61 QString(
"Unable to find a focal length for the requested Cassini ISS NA "
62 "filter combination [%1] or the default focal length")
63 .arg(bandBin[
"FilterName"][0]),
65 finalError.append(firstException);
66 finalError.append(secondException);
80 double et =
iTime((QString)inst[
"StartTime"]).
Et();
90 int summingMode = inst[
"SummingMode"];
92 detectorMap->SetDetectorLineSumming(summingMode);
93 detectorMap->SetDetectorSampleSumming(summingMode);
138 double exposureDuration) {
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.
Generic class for Framing Cameras.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
@ Unknown
A type of error that cannot be classified as any of the other error types.
Cassini ISS Narrow Angle Camera Model.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
IssNACamera(Cube &cube)
Constructs a IssNACamera object using the image labels.
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.
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.
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.
SpiceInt getInteger(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Parse and return pieces of a time string.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
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.