File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
14 #include "IException.h"
40 Apollo (QString spacecraft, QString instrument) {
41 initialize(spacecraft.toUpper(), instrument.toUpper());
54 QString spacecraft, instrument;
55 if (filename.mid(0,4) ==
"AS15") spacecraft =
"APOLLO 15";
56 else if (filename.mid(0,4) ==
"AS16") spacecraft =
"APOLLO 16";
57 else if (filename.mid(0,4) ==
"AS17") spacecraft =
"APOLLO 17";
60 QString msg =
"The image filename does not match the required formatting.";
64 if (filename.mid(5,1) ==
"M") instrument =
"METRIC";
65 else if (filename.mid(5,1) ==
"P") instrument =
"PANORAMIC";
66 else if (filename.mid(5,1) ==
"H") instrument =
"HASSELBLAD";
69 QString msg =
"The image filename does not match the required formatting.";
242 if (instrument ==
"METRIC") {
250 else if (instrument ==
"PANORAMIC") {
258 else if (instrument ==
"HASSELBLAD") {
267 QString msg =
"Unknown instrument: " + instrument;
271 if (spacecraft ==
"APOLLO 15" ){
278 else if (spacecraft ==
"APOLLO 16") {
285 else if (spacecraft ==
"APOLLO 17") {
293 QString msg =
"Unknown spacecraft: " + spacecraft;
QString NaifFrameCode()
Returns the NAIF frame code.
int Width()
Returns the width of the image.
bool IsApollo15()
Checks if the spacecraft is Apollo 15.
int p_imageHeight
Image height.
Parse and return pieces of a time string.
int Height()
Returns the height of the image.
@ Unknown
A type of error that cannot be classified as any of the other error types.
int Bands()
Returns number of bands in the image.
QString TargetName()
Returns the target name which is always the Moon.
bool IsApollo16()
Checks if the spacecraft is Apollo 16.
bool IsPanoramic()
Checks if the instrument is an Apollo Panoramic camera.
int p_imageBands
Number of bands in the image.
int ReseauDimension()
Returns the reseau dimension of the image.
QString p_naifFrameCode
NAIF frame code.
void initialize(QString spacecraft, QString instrument)
Sets variables based on the spacecraft name and instrument.
QString p_instrumentId
Instrument ID.
iTime LaunchDate()
Returns the launch date of the mission.
bool IsMetric()
Checks if the instrument is an Apollo Metric camera.
int p_reseauDimension
Dimensions of the reseaus.
Apollo(QString filename)
Constructor.
QString p_spacecraftName
Spacecraft name.
Reads user Apollos from a data file.
bool IsHasselblad()
Checks if the instrument is an Apollo Hasselblad camera.
double PixelPitch()
Returns pixel pitch for the image.
bool IsApollo17()
Checks if the spacecraft is Apollo 17.
QString InstrumentId()
Returns the instrument ID.
int p_imageWidth
Image width.
QString SpacecraftName()
Returns the spacecraft name.
double p_imagePixelPitch
Pixel pitch.
~Apollo()
Destroys the Apollo object.
Apollo(QString spacecraft, QString instrument)
Constructor.
This is free and unencumbered software released into the public domain.
iTime p_launchDate
Mission launch date.
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....