|
Isis 3 Programmer Reference
|
9 #include "TgoCassisCamera.h"
17 #include "CameraDetectorMap.h"
18 #include "CameraFocalPlaneMap.h"
19 #include "CameraGroundMap.h"
20 #include "CameraSkyMap.h"
21 #include "EndianSwapper.h"
22 #include "IException.h"
25 #include "NaifStatus.h"
26 #include "TgoCassisDistortionMap.h"
49 QString cassis =
toString(cassisCode);
63 QString stime = inst[
"SpacecraftClockStartCount"];
64 QString startT = inst[
"StartTime"];
72 int sumMode =
toInt(inst[
"SummingMode"][0]);
73 int summing = sumMode * 2;
86 double bsSample =
getDouble(
"INS" + cassis +
"_BORESIGHT_SAMPLE");
87 double bsLine =
getDouble(
"INS" + cassis +
"_BORESIGHT_LINE");
97 QString msg =
"Unable to Create TgoCassisDistortionMap";
106 double p_exposureDur =
toDouble(inst[
"ExposureDuration"]);
107 iTime p_etStart = et + ( p_exposureDur / 2.0);
143 double exposureDuration) {
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Convert between parent image coordinates and detector coordinates.
~TgoCassisCamera()
Destroys the TgoCassisCamera object.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Parse and return pieces of a time string.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
@ Unknown
A type of error that cannot be classified as any of the other error types.
QString m_instrumentNameLong
Full instrument name.
virtual int SpkTargetId() const
SPK Target Body ID - TGO spacecraft -143.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Container for cube-like labels.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
virtual int CkReferenceId() const
CK Reference ID - J2000.
Generic class for Framing Cameras.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Convert between undistorted focal plane and ground coordinates.
virtual SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
void SetDetectorLineSumming(const double summing)
Set line summing mode.
@ 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...
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Contains multiple PvlContainers.
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
int toInt(const QString &string)
Global function to convert from a string to an integer.
IO Handler for Isis Cubes.
QString m_spacecraftNameLong
Full spacecraft name.
double toDouble(const QString &string)
Global function to convert from a string to a double.
Namespace for the standard library.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_instrumentNameShort
Shortened instrument name.
Convert between distorted focal plane and detector coordinates.
Distort/undistort focal plane coordinates.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Convert between undistorted focal plane and ra/dec coordinates.
virtual int CkFrameId() const
CK frame ID - TGO CaSSIS instrument code (TGO_CASSIS_FSA)
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.
QString m_spacecraftNameShort
Shortened spacecraft name.
void SetFocalLength()
Reads the focal length from the instrument kernel.
This is free and unencumbered software released into the public domain.
void SetDistortionMap(CameraDistortionMap *map, bool deleteExisting=true)
Sets the Distortion Map.