Changeset View
Changeset View
Standalone View
Standalone View
src/backend/datasources/filters/FITSFilter.cpp
Show All 40 Lines | |||||
41 | #include <QFile> | 41 | #include <QFile> | ||
42 | #include <QDebug> | 42 | #include <QDebug> | ||
43 | 43 | | |||
44 | /*! \class FITSFilter | 44 | /*! \class FITSFilter | ||
45 | * \brief Manages the import/export of data from/to a FITS file. | 45 | * \brief Manages the import/export of data from/to a FITS file. | ||
46 | * \since 2.2.0 | 46 | * \since 2.2.0 | ||
47 | * \ingroup datasources | 47 | * \ingroup datasources | ||
48 | */ | 48 | */ | ||
49 | FITSFilter::FITSFilter():AbstractFileFilter(), d(new FITSFilterPrivate(this)) {} | 49 | FITSFilter::FITSFilter():AbstractFileFilter(FITS), d(new FITSFilterPrivate(this)) {} | ||
50 | 50 | | |||
51 | FITSFilter::~FITSFilter() = default; | 51 | FITSFilter::~FITSFilter() = default; | ||
52 | 52 | | |||
53 | void FITSFilter::readDataFromFile(const QString &fileName, AbstractDataSource *dataSource, AbstractFileFilter::ImportMode importMode) { | 53 | void FITSFilter::readDataFromFile(const QString &fileName, AbstractDataSource *dataSource, AbstractFileFilter::ImportMode importMode) { | ||
54 | d->readCHDU(fileName, dataSource, importMode); | 54 | d->readCHDU(fileName, dataSource, importMode); | ||
55 | } | 55 | } | ||
56 | 56 | | |||
57 | QVector<QStringList> FITSFilter::readChdu(const QString &fileName, bool* okToMatrix, int lines) { | 57 | QVector<QStringList> FITSFilter::readChdu(const QString &fileName, bool* okToMatrix, int lines) { | ||
▲ Show 20 Lines • Show All 1579 Lines • Show Last 20 Lines |