Initial stellarsolver implementation
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user