-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathset.h
More file actions
58 lines (48 loc) · 923 Bytes
/
set.h
File metadata and controls
58 lines (48 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef SET_H
#define SET_H
#include <QtGui>
#include <QMainWindow>
#include <QDialog>
#include <opencv/cv.h>
#include <direct.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
namespace Ui {
class SetDialog;
}
class Set : public QDialog
{
Q_OBJECT
public:
Set(QMainWindow *parent = 0);
QString saveSetPath;
int proj_h;
int proj_w;
int scan_w;
int scan_h;
int cam_w;
int cam_h;
int black_threshold;
int white_threshold;
int board_w;
int board_h;
int projectorWinPos_x;
int projectorWinPos_y;
bool autoContrast;
bool saveAutoContrast;
bool raySampling;
int exportObj;
int exportPly;
void switchLang();
private:
Ui::SetDialog *set;
int boolToInt(bool input);
signals:
void outputSet();
private slots:
void test(bool flag);
void createConfigurationFile();
void createSetFile();
};
#endif // SET_H