Subversion Repositories seema-scanner

Rev

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

Rev Author Line No. Line
1 jakw 1
#ifndef SMSCANNER_H
2
#define SMSCANNER_H
3
 
4
#include <QMainWindow>
4 jakw 5
#include <QSettings>
6
#include <QThread>
7
#include <QCloseEvent>
1 jakw 8
 
9 jakw 9
#include "SMPreferenceDialog.h"
4 jakw 10
#include "SMCaptureWorker.h"
11
#include "SMTriangulationWorker.h"
12
 
13
#include <opencv2/opencv.hpp>
14
#include <pcl/point_cloud.h>
15
#include <pcl/point_types.h>
16
 
1 jakw 17
namespace Ui {
18
class SMScanner;
19
}
20
 
21
class SMScanner : public QMainWindow
22
{
23
    Q_OBJECT
24
 
25
public:
26
    explicit SMScanner(QWidget *parent = 0);
4 jakw 27
    void closeEvent(QCloseEvent *event);
1 jakw 28
    ~SMScanner();
29
 
4 jakw 30
private slots:
31
    void on_actionPreferences_triggered();
32
    void onReceiveNewFrameSet(std::vector<cv::Mat > frameSet);
33
 
1 jakw 34
private:
35
    Ui::SMScanner *ui;
4 jakw 36
 
37
    QSettings settings;
38
 
39
    SMPreferenceDialog preferenceDialog;
40
 
41
    SMCaptureWorker *captureWorker;
42
    QThread *captureWorkerThread;
43
 
44
    SMTriangulationWorker *triangulationWorker;
45
    QThread *triangulationWorkerThread;
46
 
47
    std::vector< std::pair<cv::Mat, cv::Mat> > calibrationData;
48
    std::vector< std::vector< std::pair<cv::Mat, cv::Mat> > > captureData;
49
    std::vector< pcl::PointCloud<pcl::PointXYZRGB>::Ptr > pointClouds;
1 jakw 50
};
51
 
52
#endif // SMSCANNER_H