Isis 3.0 Programmer Reference
Back | Home
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 {
52 
53  public:
55  virtual ~ProcessImportFits();
56 
58  PvlGroup fitsLabel(int labelNumber) const;
59  void setFitsFile(FileName fitsFile);
60  void setProcessFileStructure(int labelNumber);
61 
62  private:
63  void extractFitsLabels();
64 
67 
70 
72  std::ifstream m_file;
73 
76 
79  };
80 };
81 
82 #endif
83 
84 
ProcessImportFits()
Constructor for ProcessImportFits.
File name manipulation and expansion.
Definition: FileName.h:111
void setProcessFileStructure(int labelNumber)
Sets the Process file structure parameters based on the FITS labels of choice.
FileName m_name
The name of the input FITS file.
QList< int > * m_headerSizes
The number/count of 2880 byte header records for each header section.
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
QList< int > * m_dataStarts
The starting byte of the data for each image.
void extractFitsLabels()
Extract all the FITS labels from the file.
Import a FITS file.
void setFitsFile(FileName fitsFile)
Opens a FITS file and reads the FITS labels.
Byte swapper.
virtual ~ProcessImportFits()
Destructor for ProcessImportFits.
PvlGroup standardInstrumentGroup(PvlGroup fitsLabel) const
Return a populated instrument group.
QList< PvlGroup * > * m_fitsLabels
Holds the PvlGroups with the converted FITS labels from the main and all extensions.
std::ifstream m_file
The stream used to read the FITS file.
PvlGroup fitsLabel(int labelNumber) const
Supplies the requested FITS label.

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:26:27