9#include "ApolloMetricCamera.h"
11#include "ApolloMetricDistortionMap.h"
15#include "CameraDetectorMap.h"
16#include "CameraFocalPlaneMap.h"
17#include "CameraGroundMap.h"
18#include "CameraSkyMap.h"
20#include "IException.h"
23#include "NaifStatus.h"
24#include "ReseauDistortionMap.h"
78 QString msg =
"File does not appear to be an Apollo image";
109 setTime((QString)inst[
"StartTime"]);
137 double exposureDuration) {
138 pair<iTime, iTime> shuttertimes;
Apollo Metric Camera Model.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
int p_ckFrameId
"Camera-matrix" Kernel Frame ID
int p_ckReferenceId
"Camera-matrix" Kernel Reference ID
ApolloMetricCamera(Cube &cube)
Constructs an Apollo Metric Camera object using the image labels.
int p_spkTargetId
Spacecraft Kernel Target ID.
Apollo Metric Distortion Map.
Convert between parent image coordinates and detector coordinates.
Convert between distorted focal plane and detector coordinates.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
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.
int ParentLines() const
Returns the number of lines in the parent alphacube.
int ParentSamples() const
Returns the number of samples in the parent alphacube.
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.
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
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.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
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.
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.
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.