forked from mhernando/Apolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faceWidget.h
55 lines (43 loc) · 1.11 KB
/
faceWidget.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
52
53
54
55
#ifndef __APOLO__FACEWIDGET__H
#define __APOLO__FACEWIDGET__H
#include "mainWindow.h"
#include <wx/wx.h>
#include <wx/splitter.h>
#include "simulatedWorld.h"
#include "pointsList.h"
#include "canvas.h"
#include "mrcore.h"
#include <math.h>
#include <conio.h>
#include "globalView.h"
#include "designMine.h"
#include <vector>
DECLARE_EVENT_TYPE(wxEVT_POINT_ADDED, -1)
class globalView;
class DesignMine;
class FaceWidget : public wxPanel
{
public:
FaceWidget(wxWindow *parent,SimulatedWorld *simu,const wxPoint& pos,const wxSize& size,bool horizontal=true, bool pre=false);
void CreatePanel();
void RefreshCanvas();
void CreateVis2D();
void AlignFunction();
globalView* GetView(){return Vis2d;};
SimulatedWorld *GetWorld(){return world;}
void DrawFace(GLObject* obj);
Canvas* GetCanvas3d(){return canvas3d;};
private:
bool worldView;
bool noPreliminar3D;
double x,y;
globalView *Vis2d;
SimulatedWorld *world;
wxWindow* window;
int resp;
Canvas *canvas3d;
NodeTree *node;
SimulatedWorld *simu;
DECLARE_EVENT_TABLE();
};
#endif // __APOLO__FACEWIDGET__H