9#include "HayabusaNirsCamera.h"
13#include "CameraDistortionMap.h"
14#include "CameraFocalPlaneMap.h"
15#include "CameraGroundMap.h"
16#include "CameraSkyMap.h"
19#include "NaifStatus.h"
20#include "NirsDetectorMap.h"
50 QString startTime = inst[
"SpacecraftClockStartCount"];
51 QString stopTime = inst[
"SpacecraftClockStopCount"];
66 focalMap->SetDetectorOrigin(bSamples, bLines);
70 detMap->SetStartingDetectorSample(0);
71 detMap->SetStartingDetectorLine(0);
117 double exposureDuration) {
134 QList<QPointF> offsets;
141 offsets.append(QPointF(x, -
PixelPitch() / 2.0));
145 offsets.append(QPointF(
PixelPitch() / 2.0, y));
149 offsets.append(QPointF(x,
PixelPitch() / 2.0));
153 offsets.append(QPointF(-
PixelPitch() / 2.0, y));
Convert between parent image coordinates and detector coordinates.
Distort/undistort focal plane 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.
double PixelPitch() const
Returns the pixel pitch.
void SetFocalLength()
Reads the focal length from the instrument kernel.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
double FocalLength() const
Returns the focal length.
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.
This is the camera model for the Hayabusa NIRS camera.
HayabusaNirsCamera(Cube &cube)
Constructs a HayabusaNirsCamera object using the image labels.
virtual QList< QPointF > PixelIfovOffsets()
Returns the pixel ifov offsets from center of pixel.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
~HayabusaNirsCamera()
Destroys a HayabusaNirsCamera object.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
The detector map class for the Hayabusa NIRS camera.
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 getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
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.
Parse and return pieces of a time string.
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.