13#include "CameraDistortionMap.h"
14#include "CameraFocalPlaneMap.h"
15#include "IException.h"
18#include "LineScanCameraDetectorMap.h"
19#include "LineScanCameraGroundMap.h"
20#include "LineScanCameraSkyMap.h"
21#include "NaifStatus.h"
47 QString stime = inst[
"SpacecraftClockCount"];
51 double csum = inst[
"SpatialSumming"];
52 double lineRate = (double) inst[
"LineExposureDuration"] / 1000.0;
54 double ss = inst[
"SampleFirstPixel"];
60 detectorMap->SetDetectorSampleSumming(csum);
61 detectorMap->SetStartingDetectorSample(ss);
68 double sampleBoreSight =
getDouble(ikernKey);
71 double lineBoreSight =
getDouble(ikernKey);
73 focalMap->SetDetectorOrigin(sampleBoreSight, lineBoreSight);
74 focalMap->SetDetectorOffset(0.0, 0.0);
CTXCamera(Cube &cube)
Constructs an MRO CTX Camera object using the image labels.
Distort/undistort focal plane coordinates.
Convert between distorted focal plane and detector coordinates.
QString m_spacecraftNameLong
Full spacecraft name.
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.
IO Handler for Isis Cubes.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Convert between parent image coordinates and detector coordinates.
Convert between undistorted focal plane and ground coordinates.
Generic class for Line Scan Cameras.
Convert between undistorted focal plane and ra/dec coordinates.
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.
virtual iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
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.