Isis Developer Reference
Isis::Apollo Class Reference

Reads user Apollos from a data file. More...

#include <Apollo.h>

Collaboration diagram for Isis::Apollo:
Collaboration graph

Public Member Functions

 Apollo (QString spacecraft, QString instrument)
 Constructor.
 
 Apollo (QString filename)
 Constructor.
 
 ~Apollo ()
 Destroys the Apollo object.
 
bool IsMetric ()
 Checks if the instrument is an Apollo Metric camera.
 
bool IsPanoramic ()
 Checks if the instrument is an Apollo Panoramic camera.
 
bool IsHasselblad ()
 Checks if the instrument is an Apollo Hasselblad camera.
 
bool IsApollo15 ()
 Checks if the spacecraft is Apollo 15.
 
bool IsApollo16 ()
 Checks if the spacecraft is Apollo 16.
 
bool IsApollo17 ()
 Checks if the spacecraft is Apollo 17.
 
int Width ()
 Returns the width of the image.
 
int Height ()
 Returns the height of the image.
 
int Bands ()
 Returns number of bands in the image.
 
int ReseauDimension ()
 Returns the reseau dimension of the image.
 
double PixelPitch ()
 Returns pixel pitch for the image.
 
QString SpacecraftName ()
 Returns the spacecraft name.
 
QString InstrumentId ()
 Returns the instrument ID.
 
QString NaifFrameCode ()
 Returns the NAIF frame code.
 
QString TargetName ()
 Returns the target name which is always the Moon.
 
iTime LaunchDate ()
 Returns the launch date of the mission.
 

Detailed Description

Reads user Apollos from a data file.

This class is used to

Author
2007-02-07 Jacob Danton

Constructor & Destructor Documentation

◆ Apollo() [1/2]

Isis::Apollo::Apollo ( QString spacecraft,
QString instrument )
inline

Constructor.

Calls initialize() to set variables based on the QStrings passed in.

Parameters
spacecraftThe name of the spacecraft
instrumentThe name of the instrument
See also
initialize(QString spacecraft, QString instrument)

◆ Apollo() [2/2]

Isis::Apollo::Apollo ( QString filename)
inline

Constructor.

Parses the filename passed in and sets the spacecraft name and instrument. Calls initialize() to set variables based on the spacecraft and instrument.

Parameters
filenameThe image filename that will be parsed to get the spacecraft and instrument
See also
initialize(QString spacecraft, QString instrument)

References _FILEINFO_, and Isis::IException::User.

◆ ~Apollo()

Isis::Apollo::~Apollo ( )
inline

Destroys the Apollo object.

Member Function Documentation

◆ Bands()

int Isis::Apollo::Bands ( )
inline

Returns number of bands in the image.

The number of bands is set in initialize() based on the instrument.

See also
initialize(QString spacecraft, QString instrument)
Returns
int Bands of the image.

◆ Height()

int Isis::Apollo::Height ( )
inline

Returns the height of the image.

The image height is set in initialize() based on the instrument.

See also
initialize(QString spacecraft, QString instrument)
Returns
int Height of the image.

◆ InstrumentId()

QString Isis::Apollo::InstrumentId ( )
inline

Returns the instrument ID.

Returns
QString Instrument ID.

◆ IsApollo15()

bool Isis::Apollo::IsApollo15 ( )
inline

Checks if the spacecraft is Apollo 15.

Returns
bool True if the spacecraft is Apollo 15

◆ IsApollo16()

bool Isis::Apollo::IsApollo16 ( )
inline

Checks if the spacecraft is Apollo 16.

Returns
bool True if the spacecraft is Apollo 16

◆ IsApollo17()

bool Isis::Apollo::IsApollo17 ( )
inline

Checks if the spacecraft is Apollo 17.

Returns
bool True if the spacecraft is Apollo 17

◆ IsHasselblad()

bool Isis::Apollo::IsHasselblad ( )
inline

Checks if the instrument is an Apollo Hasselblad camera.

Returns
bool True if the instrument is Hasselblad

◆ IsMetric()

bool Isis::Apollo::IsMetric ( )
inline

Checks if the instrument is an Apollo Metric camera.

Returns
bool True if the instrument is Metric

◆ IsPanoramic()

bool Isis::Apollo::IsPanoramic ( )
inline

Checks if the instrument is an Apollo Panoramic camera.

Returns
bool True if the instrument is Panoramic

◆ LaunchDate()

iTime Isis::Apollo::LaunchDate ( )
inline

Returns the launch date of the mission.

The launch date is set in initialize() based on the spacecraft and instrument.

See also
initialize(QString spacecraft, QString instrument)
Returns
QString Launch date of mission

◆ NaifFrameCode()

QString Isis::Apollo::NaifFrameCode ( )
inline

Returns the NAIF frame code.

The NAIF frame code is set in initialize() based on the spacecraft and instrument.

See also
initialize(QString spacecraft, QString instrument)
Returns
QString NAIF frame code of the image.

◆ PixelPitch()

double Isis::Apollo::PixelPitch ( )
inline

Returns pixel pitch for the image.

The pixel patch is set in initialize() based on the instrument.

See also
initialize(QString spacecraft, QString instrument)
Returns
double Pixel pitch of the image.

◆ ReseauDimension()

int Isis::Apollo::ReseauDimension ( )
inline

Returns the reseau dimension of the image.

The reseau dimenstion is set in initialize() based on the instrument.

See also
initialize(QString spacecraft, QString instrument)
Returns
int Reseau dimension of the image.

◆ SpacecraftName()

QString Isis::Apollo::SpacecraftName ( )
inline

Returns the spacecraft name.

Returns
QString Spacecraft name.

◆ TargetName()

QString Isis::Apollo::TargetName ( )
inline

Returns the target name which is always the Moon.

Returns
QString Moon.

◆ Width()

int Isis::Apollo::Width ( )
inline

Returns the width of the image.

The image width is set in initialize() based on the instrument.

See also
initialize(QString spacecraft, QString instrument)
Returns
int Width of the image.

The documentation for this class was generated from the following file: