89 QString msg =
"File does not appear to be an Apollo image";
120 setTime((QString)inst[
"StartTime"]);
148 double exposureDuration) {
149 pair<iTime, iTime> shuttertimes;
151 shuttertimes.first = time - (exposureDuration / 2.0);
153 shuttertimes.second = time + (exposureDuration / 2.0);
void SetFocalLength()
Reads the focal length from the instrument kernel.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
int p_spkTargetId
Spacecraft Kernel Target ID.
QString m_instrumentNameLong
Full instrument name.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
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.
Apollo Metric Distortion Map.
Convert between parent image coordinates and detector coordinates.
Convert between undistorted focal plane and ground coordinates.
int p_ckReferenceId
"Camera-matrix" Kernel Reference ID
Convert between distorted focal plane and detector coordinates.
int p_ckFrameId
"Camera-matrix" Kernel Frame ID
QString m_instrumentNameShort
Shortened instrument name.
Contains multiple PvlContainers.
#define _FILEINFO_
Macro for the filename and line number.
A type of error that could only have occurred due to a mistake on the user's part (e...
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.
QString m_spacecraftNameLong
Full spacecraft name.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Apollo Metric Camera Model.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Convert between undistorted focal plane and ra/dec coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
int ParentLines() const
Returns the number of lines in the parent alphacube.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
int ParentSamples() const
Returns the number of samples in the parent alphacube.
Generic class for Framing Cameras.
Isis::Camera * ApolloMetricCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate an ApolloMetricCamera object...
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.