54 if (ikCode <= -131331 && ikCode >= -131335) {
59 else if (ikCode <= -131341 && ikCode >= -131344) {
64 QString msg = QString::number(ikCode);
65 msg +=
" is not a supported instrument kernel code for Kaguya.";
81 QString stime = (QString)inst[
"StartTime"];
82 SpiceDouble etStart=0;
95 double lineRate = (double) inst[
"CorrectedSamplingInterval"] / 1000.0;
107 double sampleBoreSight =
getDouble(ikernKey,0);
108 double lineBoreSight =
getDouble(ikernKey,1)-1.0;
void SetFocalLength()
Reads the focal length from the instrument kernel.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
void SetDetectorOffset(const double sampleOffset, const double lineOffset)
Set the detector offset.
Parse and return pieces of a time string.
QString m_instrumentNameLong
Full instrument name.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
Generic class for Line Scan Cameras.
LRO Narrow Angle Camera Model.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
This error is for when a programmer made an API call that was illegal.
Convert between undistorted focal plane and ground coordinates.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
Contains multiple PvlContainers.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
#define _FILEINFO_
Macro for the filename and line number.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
void SetDistortion(const int naifIkCode)
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Distort/undistort focal plane coordinates.
Container for cube-like labels.
Convert between undistorted focal plane and ra/dec coordinates.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_spacecraftNameLong
Full spacecraft name.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
void SetStartingDetectorSample(const double sample)
Set the starting detector sample.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Namespace for ISIS/Bullet specific routines.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Isis::Camera * KaguyaMiCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a KaguyaMi object.
QString m_spacecraftNameShort
Shortened spacecraft name.
Convert between parent image coordinates and detector coordinates.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.