Subversion Repositories seema-scanner

Rev

Rev 167 | Rev 207 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 167 Rev 199
Line 19... Line 19...
19
 
19
 
20
class SMCaptureWorker : public QObject{
20
class SMCaptureWorker : public QObject{
21
    Q_OBJECT
21
    Q_OBJECT
22
 
22
 
23
    public:
23
    public:
24
        SMCaptureWorker(): setupSuccessful(0), working(0){}
24
        SMCaptureWorker(): setupSuccessful(0), working(0), focusingPattern(false){}
25
        ~SMCaptureWorker();
25
        ~SMCaptureWorker();
26
    public slots:
26
    public slots:
27
        void setup();
27
        void setup();
28
        void doWork();
28
        void doWork();
29
        void rotateTo(float angle);
29
        void rotateTo(float angle);
Line 31... Line 31...
31
        void acquireCalibrationSets(std::vector<float> angles);
31
        void acquireCalibrationSets(std::vector<float> angles);
32
        void acquireFrameSequence(float angle);
32
        void acquireFrameSequence(float angle);
33
        void acquireFrameSequences(std::vector<float> angles);
33
        void acquireFrameSequences(std::vector<float> angles);
34
        void abort();
34
        void abort();
35
        void stopWork();
35
        void stopWork();
-
 
36
        void setProjectFocusingPattern(bool _focusingPattern){focusingPattern = _focusingPattern;}
36
    signals:
37
    signals:
37
        void newFrame(unsigned int camID, cv::Mat frame);
38
        void newFrame(unsigned int camID, cv::Mat frame);
38
        void newCalibrationSet(SMCalibrationSet frameSet);
39
        void newCalibrationSet(SMCalibrationSet frameSet);
39
        void newFrameSequence(SMFrameSequence frameSequence);
40
        void newFrameSequence(SMFrameSequence frameSequence);
40
        void rotatedTo(float angle);
41
        void rotatedTo(float angle);
Line 42... Line 43...
42
        void done();
43
        void done();
43
        void finished();
44
        void finished();
44
    private:
45
    private:
45
        bool setupSuccessful;
46
        bool setupSuccessful;
46
        bool working;
47
        bool working;
-
 
48
        bool focusingPattern;
47
        int delay;
49
        int delay;
48
        int stackingCalibration;
50
        int stackingCalibration;
49
        int stackingAcquisition;
51
        int stackingAcquisition;
50
        QString codec;
52
        QString codec;
51
        Projector* projector;
53
        Projector* projector;