Isis 3 Programmer Reference
ProcessImportFits.h
1#ifndef ProcessImportFits_h
2#define ProcessImportFits_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10
11#include "ProcessImport.h"
12
13template <typename T> class QList;
14
15namespace Isis {
41
42 public:
44 virtual ~ProcessImportFits();
45
47 PvlGroup extraFitsLabel(int labelNumber) const;
48 PvlGroup fitsImageLabel(int labelNumber) const;
49 void setFitsFile(FileName fitsFile);
50 void setProcessFileStructure(int labelNumber);
51
52 private:
53 void extractFitsLabels();
54
55 QList<PvlGroup *> *m_fitsImageLabels;
57 QList<PvlGroup *> *m_extraFitsLabels;
62 std::ifstream m_file;
63 QList<int> *m_headerSizes;
65 QList<int> *m_dataStarts;
66 };
67};
68
69#endif
70
71
File name manipulation and expansion.
Definition FileName.h:100
Import a FITS file.
FileName m_name
The name of the input FITS file.
PvlGroup fitsImageLabel(int labelNumber) const
Supplies the FITS image label corresponding to the given index.
void extractFitsLabels()
Extract all the FITS labels from the file.
void setFitsFile(FileName fitsFile)
Opens a FITS image file with header and reads the FITS labels.
QList< PvlGroup * > * m_extraFitsLabels
Holds the PvlGroups with the converted extra FITS labels from the main and all extensions.
ProcessImportFits()
Constructor for ProcessImportFits.
std::ifstream m_file
The stream used to read the FITS file.
PvlGroup standardInstrumentGroup(PvlGroup fitsLabel) const
Return a PVL instrument group populated with expected default values.
PvlGroup extraFitsLabel(int labelNumber) const
Supplies the extra FITS label corresponding to the given index.
QList< PvlGroup * > * m_fitsImageLabels
Holds the PvlGroups with the converted FITS image labels from the main and all extensions.
void setProcessFileStructure(int labelNumber)
Sets the Process file structure parameters based on the given image label index.
virtual ~ProcessImportFits()
Destructor for ProcessImportFits.
QList< int > * m_dataStarts
The starting byte of the data for each image.
QList< int > * m_headerSizes
The number, or count, of 2880 byte header records for each image header section.
Contains multiple PvlContainers.
Definition PvlGroup.h:41
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16