62 QString cassis =
toString(cassisCode);
76 QString stime = inst[
"SpacecraftClockStartCount"];
77 QString startT = inst[
"StartTime"];
85 int sumMode =
toInt(inst[
"SummingMode"][0]);
86 int summing = sumMode * 2;
99 double bsSample =
getDouble(
"INS" + cassis +
"_BORESIGHT_SAMPLE");
100 double bsLine =
getDouble(
"INS" + cassis +
"_BORESIGHT_LINE");
110 QString msg =
"Unable to Create TgoCassisDistortionMap";
119 double p_exposureDur =
toDouble(inst[
"ExposureDuration"]);
120 iTime p_etStart = et + ( p_exposureDur / 2.0);
156 double exposureDuration) {
void SetFocalLength()
Reads the focal length from the instrument kernel.
virtual int SpkTargetId() const
SPK Target Body ID - TGO spacecraft -143.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Parse and return pieces of a time string.
virtual int CkReferenceId() const
CK Reference ID - J2000.
Isis::Camera * TgoCassisCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a TgoCassisCamera object.
QString m_instrumentNameLong
Full instrument name.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
virtual int CkFrameId() const
CK frame ID - TGO CaSSIS instrument code (TGO_CASSIS_FSA)
int toInt(const QString &string)
Global function to convert from a string to an integer.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Namespace for the standard library.
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.
double toDouble(const QString &string)
Global function to convert from a string to a double.
void SetDetectorLineSumming(const double summing)
Set line summing mode.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
Convert between parent image coordinates and detector coordinates.
void SetFrame(int frameCode)
Change the frame to the given frame code.
Convert between undistorted focal plane and ground coordinates.
Convert between distorted focal plane and detector coordinates.
~TgoCassisCamera()
Destroys the TgoCassisCamera object.
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.
Distort/undistort focal plane coordinates.
A type of error that cannot be classified as any of the other error types.
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.
void LoadCache()
This loads the spice cache big enough for this image.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
QString m_spacecraftNameLong
Full spacecraft name.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
void SetDistortionMap(CameraDistortionMap *map, bool deleteExisting=true)
Sets the Distortion Map.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Namespace for ISIS/Bullet specific routines.
SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
Convert between undistorted focal plane and ra/dec coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
Generic class for Framing Cameras.
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...