Subversion Repositories seema-scanner

Rev

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

Rev 1 Rev 4
Line 1... Line 1...
1
#ifndef SMSCANNER_H
1
#ifndef SMSCANNER_H
2
#define SMSCANNER_H
2
#define SMSCANNER_H
3
 
3
 
4
#include <QMainWindow>
4
#include <QMainWindow>
-
 
5
#include <QSettings>
-
 
6
#include <QThread>
-
 
7
#include <QCloseEvent>
-
 
8
 
-
 
9
#include "SMPreferenceDialog.h"
-
 
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>
5
 
16
 
6
namespace Ui {
17
namespace Ui {
7
class SMScanner;
18
class SMScanner;
8
}
19
}
9
 
20
 
Line 11... Line 22...
11
{
22
{
12
    Q_OBJECT
23
    Q_OBJECT
13
 
24
 
14
public:
25
public:
15
    explicit SMScanner(QWidget *parent = 0);
26
    explicit SMScanner(QWidget *parent = 0);
-
 
27
    void closeEvent(QCloseEvent *event);
16
    ~SMScanner();
28
    ~SMScanner();
17
 
29
 
-
 
30
private slots:
-
 
31
    void on_actionPreferences_triggered();
-
 
32
    void onReceiveNewFrameSet(std::vector<cv::Mat > frameSet);
-
 
33
 
18
private:
34
private:
19
    Ui::SMScanner *ui;
35
    Ui::SMScanner *ui;
-
 
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;
20
};
50
};
21
 
51
 
22
#endif // SMSCANNER_H
52
#endif // SMSCANNER_H