Files
tenmon/solver.h
T

23 lines
464 B
C++

#ifndef SOLVER_H
#define SOLVER_H
#include <stellarsolver.h>
class Solver : public QObject
{
Q_OBJECT
std::unique_ptr<StellarSolver> _solver;
FITSImage::Statistic _stats;
QString _path;
QString _error;
public:
explicit Solver(QObject *parent = nullptr);
~Solver();
bool solveImage(const QString &path);
FITSImage::Solution getSolution() const;
QString errorMessage() const;
void updateHeader();
};
#endif // SOLVER_H