|
Isis 3 Programmer Reference
|
9 #include "LoHighCamera.h"
10 #include "LoHighDistortionMap.h"
11 #include "LoCameraFiducialMap.h"
16 #include "CameraDetectorMap.h"
17 #include "CameraFocalPlaneMap.h"
18 #include "CameraGroundMap.h"
19 #include "CameraSkyMap.h"
20 #include "IException.h"
23 #include "NaifStatus.h"
60 QString msg =
"File does not appear to be a Lunar Orbiter image: ";
62 msg +=
" is not a supported instrument kernel code for Lunar Orbiter.";
69 QString spacecraft = (QString)inst[
"SpacecraftName"];
70 QString instId = (QString)inst[
"InstrumentId"];
80 double time =
iTime((QString)inst[
"StartTime"]).
Et();
101 if ( spacecraft.contains(
"3") ) {
104 else if ( spacecraft.contains(
"4") ) {
107 else if ( spacecraft.contains(
"5") ) {
111 QString msg =
"File does not appear to be an LunarOrbiter 3,4,5 image";
144 double exposureDuration) {
145 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.
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.
Distort/undistort focal plane coordinates.
virtual SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
Convert between parent image coordinates and detector coordinates.
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)
Defines the Lunar Orbiter High Resolution camera class.
Parse and return pieces of a time string.
QString m_instrumentNameLong
Full instrument name.
Container for cube-like labels.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
Generic class for Framing Cameras.
int m_ckFrameId
LO 3,4,5 CK frame id.
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.
Computes map from image coordinates to focal plane based on fiducials.
IO Handler for Isis Cubes.
QString m_spacecraftNameLong
Full spacecraft name.
@ 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.
Convert between undistorted focal plane and ra/dec coordinates.
void SetDistortion(const int naifIkCode)
Load LO High Resolution Camera perspective & distortion coefficients.
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....