-
Notifications
You must be signed in to change notification settings - Fork 5
/
faceWindow.h
55 lines (44 loc) · 1.19 KB
/
faceWindow.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__FACEWINDOW__H
#define __APOLO__FACEWINDOW__H
#include "mainWindow.h"
#include "mrcore.h"
#include "nodeTree.h"
#include "simulatedWorld.h"
#include "canvas.h"
#include "genericSlider.h"
#include <wx/grid.h>
#include <wx/wx.h>
#include <wx/tglbtn.h>
#include <wx/splitter.h>
class FaceWidget;
class PointsList;
class MainWindow;
class FaceWindow : public wxPanel
{
public:
FaceWindow(wxWindow *parent,NodeTree *obj, const wxString& title, const wxPoint& pos,const wxSize& size);
void CreatePanel();
void AddFace();
void FaceOrientation(wxCommandEvent& event);
void FaceButton(wxCommandEvent& event);
void ColorChanged(wxCommandEvent& event);
void CopyDesign(wxCommandEvent& event);
void PasteDesign(wxCommandEvent& event);
FaceWidget* getcanvas(){return canvas;}
void setType(bool modification){modi=modification;}
void setIndex(int num){index=num;}
private:
bool modi;
int index;
bool worldView;
double red,green,blue;
Face editedFace;
FaceWidget *canvas;
GenericSlider *roll,*pitch,*x_pos,*y_pos,*plane_dis,*transparency;
wxButton *cView,*Accept;
NodeTree *node;
FaceSetPart *face;
MainWindow* mainWin;
DECLARE_EVENT_TABLE();
};
#endif // __APOLO__FACEWINDOW__H