Isis 3 Programmer Reference
ProcessImportFits.h
Go to the documentation of this file.
1 #ifndef ProcessImportFits_h
2 #define ProcessImportFits_h
3 
26 #include "ProcessImport.h"
27 
28 template <typename T> class QList;
29 
30 namespace Isis {
56 
57  public:
59  virtual ~ProcessImportFits();
60 
61  PvlGroup standardInstrumentGroup(PvlGroup fitsLabel) const;
62  PvlGroup extraFitsLabel(int labelNumber) const;
63  PvlGroup fitsImageLabel(int labelNumber) const;
64  void setFitsFile(FileName fitsFile);
65  void setProcessFileStructure(int labelNumber);
66 
67  private:
68  void extractFitsLabels();
69 
77  std::ifstream m_file;
81  };
82 };
83 
84 #endif
85 
86 
QList< PvlGroup * > * m_fitsImageLabels
Holds the PvlGroups with the converted FITS image labels from the main and all extensions.
ProcessImportFits()
Constructor for ProcessImportFits.
File name manipulation and expansion.
Definition: FileName.h:116
void setProcessFileStructure(int labelNumber)
Sets the Process file structure parameters based on the given image label index.
FileName m_name
The name of the input FITS file.
QList< int > * m_headerSizes
The number, or count, of 2880 byte header records for each image header section.
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
PvlGroup fitsImageLabel(int labelNumber) const
Supplies the FITS image label corresponding to the given index.
QList< int > * m_dataStarts
The starting byte of the data for each image.
void extractFitsLabels()
Extract all the FITS labels from the file.
PvlGroup extraFitsLabel(int labelNumber) const
Supplies the extra FITS label corresponding to the given index.
Import a FITS file.
void setFitsFile(FileName fitsFile)
Opens a FITS image file with header and reads the FITS labels.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Byte swapper.
QList< PvlGroup * > * m_extraFitsLabels
Holds the PvlGroups with the converted extra FITS labels from the main and all extensions.
virtual ~ProcessImportFits()
Destructor for ProcessImportFits.
PvlGroup standardInstrumentGroup(PvlGroup fitsLabel) const
Return a PVL instrument group populated with expected default values.
std::ifstream m_file
The stream used to read the FITS file.