-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfacebuilder.h
51 lines (40 loc) · 945 Bytes
/
facebuilder.h
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
#ifndef FACEBUILDER_H
#define FACEBUILDER_H
#include <QWidget>
#include <QPushButton>
#include <QSpinBox>
#include "glwidget.h"
#include "webcamwidget.h"
//#include "fastmarchingwidget.h"
#include "fastm.h"
#include "pstereowidget.h"
#include "facedetector.h"
#include "facedatabasewidget.h"
#include "mesh.h"
#include "shapefs.h"
class Facebuilder: public QWidget
{
Q_OBJECT
public:
explicit Facebuilder(QWidget *parent = 0);
Mesh mesh;
GLWidget *meshViewer;
WebcamWidget *imageViewer;
Facedet *detector;
FaceDatabaseWidget *database;
//PStereoWidget *pstereo;
Fastm *fastmarch;
Shapefs *sfs;
int subdivNum() {return _subdivNum;}
public slots:
void buildMesh();
void applyTexture();
void saveMesh();
void setSubdivNum(int val) {_subdivNum = val;}
void updateMesh();
void estimateLight();
private:
int _subdivNum;
void initMenu();
};
#endif // FACEBUILDER_H