forked from mhernando/Apolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faceSelection.h
51 lines (39 loc) · 939 Bytes
/
faceSelection.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 __FACE__SELECTION__H
#define __FACE__SELECTION__H
#include <wx/frame.h>
#include <wx/panel.h>
#include <wx/textctrl.h>
#include "canvas.h"
#include "mrcore.h"
#include <wx/button.h>
#include "globalView.h"
#include "math\face.h"
#include "world\facesetpart.h"
using namespace mr;
class globalView;
class FaceSelection : public wxFrame
{
public:
FaceSelection(wxWindow *parent,wxWindowID id,const wxString& title,FaceSetPart* set);
void CreatePanel();
void AddFaceSetPart();
void SelectFace(wxSpinEvent& event);
void UpdateSelectedFace(int num);
Face* getFaceSelected(){return face;};
int numSelected(){return facesel;}
private:
wxPanel *panel;
wxTextCtrl* textCtrl;
Canvas *canvas3dG;
wxSpinButton* num;
FaceSetPart* dir;
Face* face;
wxButton* ok,*cancel;
globalView* ed;
int facesetSize;
int facesel;
int oldselection;
wxTextCtrl* NumFace;
DECLARE_EVENT_TABLE();
};
#endif // __FACE__SELECTION__H