Subversion Repositories seema-scanner

Rev

Rev 26 | Rev 29 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26 Rev 27
Line 1... Line 1...
1
#ifndef SMCalibrator_H
1
#ifndef SMCalibrationWorker_H
2
#define SMCalibrator_H
2
#define SMCalibrationWorker_H
3
 
3
 
4
#include <QObject>
4
#include <QObject>
5
 
5
 
6
#include "SMTypes.h"
6
#include "SMTypes.h"
7
 
7
 
8
namespace Ui {
8
namespace Ui {
9
    class SMCalibrator;
9
    class SMCalibrationWorker;
10
}
10
}
11
 
11
 
12
class SMCalibrator : public QObject{
12
class SMCalibrationWorker : public QObject{
13
    Q_OBJECT
13
    Q_OBJECT
14
 
14
 
15
    public:
15
    public:
16
        explicit SMCalibrator(QObject *parent = 0){}
16
        explicit SMCalibrationWorker(QObject *parent = 0){}
17
        ~SMCalibrator(){}
17
        ~SMCalibrationWorker(){}
18
    public slots:
18
    public slots:
19
        void performCalibration(std::vector< CalibrationSet > &calibrationData);
19
        void performCalibration(std::vector< SMCalibrationSet > calibrationData);
20
    private slots:
20
    private slots:
21
    signals:
21
    signals:
-
 
22
        void newFrameResult(int idx, int camID, cv::Mat frameResult);
22
        void newFrameProcessed(int idx);
23
        void newSetProcessed(int idx);
23
        void done();
24
        void done();
24
 
25
 
25
    private:
26
    private:
26
 
27
 
27
};
28
};
28
 
29
 
29
#endif // SMCalibrator_H
30
#endif // SMCalibrationWorker_H