Subversion Repositories seema-scanner

Rev

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

Rev 199 Rev 207
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), focusingPattern(false){}
24
        SMCaptureWorker(): setupSuccessful(0), working(0), projector(nullptr), camera0(nullptr), camera1(nullptr), rotationStage(nullptr), algorithm(nullptr){}
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);
30
        void acquireCalibrationSet(float angle);
30
        void acquireCalibrationSet(float angle);
Line 48... Line 48...
48
        bool focusingPattern;
48
        bool focusingPattern;
49
        int delay;
49
        int delay;
50
        int stackingCalibration;
50
        int stackingCalibration;
51
        int stackingAcquisition;
51
        int stackingAcquisition;
52
        QString codec;
52
        QString codec;
53
        Projector* projector;
53
        std::shared_ptr<Projector> projector;
54
        Camera* camera0;
54
        std::shared_ptr<Camera> camera0;
55
        Camera* camera1;
55
        std::shared_ptr<Camera> camera1;
56
        RotationStage* rotationStage;
56
        std::shared_ptr<RotationStage> rotationStage;
57
        Algorithm* algorithm;
57
        std::shared_ptr<Algorithm> algorithm;
58
};
58
};
59
 
59
 
60
#endif // SMCaptureWorker_H
60
#endif // SMCaptureWorker_H