Subversion Repositories seema-scanner

Rev

Rev 9 | Rev 23 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 jakw 1
/*
2
 *
3
 MVTracker - Multi View Tracking for Pose Estimation
4
 (c) 2014 Jakob Wilm, DTU, Kgs.Lyngby, Denmark
5
 *
6
*/
7
 
8
#ifndef SMCaptureWorker_H
9
#define SMCaptureWorker_H
10
 
11
#include <QObject>
12
 
13
#include <opencv2/opencv.hpp>
14
#include "Camera.h"
15
 
16
enum tAquisition{ aquisitionContinuous, aquisitionSingle };
17
 
18
class SMCaptureWorker : public QObject{
19
    Q_OBJECT
20
 
21
    public:
22
        SMCaptureWorker(): isWorking(false){}
23
        ~SMCaptureWorker();
24
    public slots:
25
        void setup();
26
        void doWork();
27
        void stopWorking();
28
    signals:
29
        void newFrame(unsigned int camID, cv::Mat frame);
30
        void newFrameSet(std::vector<cv::Mat> frameSet);
31
        void finished();
32
    private:
33
        bool isWorking;
34
 
35
        Camera* camera0;
36
        Camera* camera1;
37
 
38
};
39
 
40
#endif // SMCaptureWorker_H