|
Isis 3 Programmer Reference
|
9 #include "LoMediumCamera.h"
10 #include "LoMediumDistortionMap.h"
11 #include "LoCameraFiducialMap.h"
16 #include "CameraDetectorMap.h"
17 #include "CameraDistortionMap.h"
18 #include "CameraFocalPlaneMap.h"
19 #include "CameraGroundMap.h"
20 #include "CameraSkyMap.h"
23 #include "NaifStatus.h"
62 QString msg =
"File does not appear to be a Lunar Orbiter image: ";
64 msg +=
" is not a supported instrument kernel code for Lunar Orbiter.";
71 QString spacecraft = inst[
"SpacecraftName"];
72 QString instId = inst[
"InstrumentId"];
82 string msg =
"Unknown focal plane map type: ";
83 msg +=
"Labels must include fiducials or boresight";
95 double time =
iTime((QString)inst[
"StartTime"]).
Et();
107 double boresightSample = inst[
"BoresightSample"];
108 double boresightLine = inst[
"BoresightLine"];
124 if ( spacecraft.contains(
"3") ) {
127 else if ( spacecraft.contains(
"4") ) {
130 else if ( spacecraft.contains(
"5") ) {
134 QString msg =
"File does not appear to be an LunarOrbiter 3,4,5 image";
168 double exposureDuration) {
169 pair<iTime, iTime> shuttertimes;
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.
void SetDistortion(const int naifIkCode)
Load LO Medium Resolution Camera perspective & distortion coefficients.
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.
virtual SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
Convert between parent image coordinates and detector coordinates.
@ Fiducial
Fiducial Focal Plane Map.
Defines the Lunar Orbiter Medium Resolution camera class.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
virtual void SetAberrationCorrection(const QString &correction)
Set the aberration correction (light time)
Parse and return pieces of a time string.
QString m_instrumentNameLong
Full instrument name.
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Container for cube-like labels.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
int m_ckFrameId
LO 3,4,5 CK frame id.
Generic class for Framing Cameras.
Convert between undistorted focal plane and ground coordinates.
@ 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...
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Contains multiple PvlContainers.
@ Boresight
Boresight Focal Plane Map.
Computes map from image coordinates to focal plane based on fiducials.
IO Handler for Isis Cubes.
QString m_spacecraftNameLong
Full spacecraft name.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
@ Programmer
This error is for when a programmer made an API call that was illegal.
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.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Distort/undistort focal plane coordinates.
Convert between undistorted focal plane and ra/dec coordinates.
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.
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
FocalPlaneMapType
This enum defines the types of focal plane maps supported in this class.