59 QString clockCount = inst[
"SpacecraftClockStartCount"];
63 double lineRate = (double) inst[
"LineSamplingInterval"] / 1000.0;
69 QString swathMode = inst[
"SwathModeId"];
71 double startingDetectorSample = 1;
72 if (swathMode.compare(
"FULL") == 0) {
73 startingDetectorSample = 1;
75 else if (swathMode.compare(
"NOMINAL") == 0) {
76 startingDetectorSample = 297;
78 else if (swathMode.compare(
"HALF") == 0) {
79 startingDetectorSample = 1172;
void SetFocalLength()
Reads the focal length from the instrument kernel.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
~KaguyaTcCamera()
Destroys the KaguyaTcCamera object.
virtual int CkReferenceId() const
CK Reference ID - J2000.
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
QString m_instrumentNameLong
Full instrument name.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
virtual int CkFrameId() const
CK frame ID - - Instrument Code from spacit run on CK.
Generic class for Line Scan Cameras.
Isis::Camera * KaguyaTcCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a KaguyaCamera object.
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.
Convert between undistorted focal plane and ground coordinates.
Convert between distorted focal plane and detector coordinates.
Distort/undistort focal plane coordinates for Kaguya's TC cameras.
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.
iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
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.
This is the camera model for the Kaguya Terrain Cameras TC1 and TC2.
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.
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.
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions...