9#include "Chandrayaan2OhrcCamera.h"
14#include "CameraDistortionMap.h"
15#include "CameraFocalPlaneMap.h"
16#include "IException.h"
19#include "LineScanCameraDetectorMap.h"
20#include "LineScanCameraGroundMap.h"
21#include "LineScanCameraSkyMap.h"
22#include "NaifStatus.h"
45 Pvl &lab = *cube.
label();
46 PvlGroup &inst = lab.findGroup(
"Instrument", Pvl::Traverse);
47 QString stime = (QString)inst[
"StartTime"];
48 SpiceDouble etStart = 0;
52 if (inst.hasKeyword(
"SpatialSumming"))
53 csum = inst[
"SpatialSumming"];
54 double lineRate = (double) inst[
"LineExposureDuration"] / 1000;
66 double sampleCenter =
getDouble(centerKey, 0);
67 double lineCenter =
getDouble(centerKey, 1);
87 QString msg =
"Unknown frame code [" +
toString(
naifIkCode()) +
"] for Chandrayaan2 OHRC Camera.";
88 throw IException(IException::Programmer, msg, _FILEINFO_);
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Distort/undistort focal plane coordinates.
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients.
Convert between distorted focal plane and detector coordinates.
void SetDetectorOffset(const double sampleOffset, const double lineOffset)
Set the detector offset.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
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.
Chandrayaan2 OHRC (Orbiter High-Resolution Camera) Camera Model.
Chandrayaan2OhrcCamera(Cube &cube)
Constructs a Chandrayaan 2 OHRC Camera object using the image labels.
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.
LineScanCamera(Isis::Cube &cube)
Constructs the LineScanCamera object.
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.
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.
void SetFrame(int frameCode)
Change the frame to the given frame code.
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(const LinearAlgebra::Vector &vector, int precision)
A global function to format LinearAlgebra::Vector as a QString with the given precision.
Namespace for the standard library.