-
Notifications
You must be signed in to change notification settings - Fork 5
/
CreateComposed.h
70 lines (55 loc) · 1.67 KB
/
CreateComposed.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef __APOLO__CREATE_COMPOSED__H
#define __APOLO__CREATE_COMPOSED__H
#include "mrcore.h"
#include "wx/wx.h"
#include "definitions.h"
#include <wx/panel.h>
#include "canvas.h"
#include "globalView.h"
#include "genericSlider.h"
#include "bitmaps/cylinder.xpm"
#include "bitmaps/sphereCom.xpm"
#include "bitmaps/prismCom.xpm"
#include "bitmaps/coloursComp.xpm"
#include "bitmaps/AddComposedIcon.xpm"
#include "bitmaps/AddAnotherItem.xpm"
#include "bitmaps/FinishComp.xpm"
#include "bitmaps/IrrPrismCom.xpm"
class globalView;
class CreateComposed:public wxPanel
{
public:
CreateComposed(wxWindow *window,NodeTree* nod,wxWindowID id,wxPoint Pos,wxSize siz);
void CreatePanel();
void AddNewObject(wxCommandEvent& event);
void ChangeDesignProperties(wxCommandEvent& event);
void AddNewComposed(wxCommandEvent& event);
void AddActualItem(wxCommandEvent& event);
ComposedEntity* getCreation(){return creation;}
void SelectComposed(wxCommandEvent& event);
void ResetValues();
bool getcheckAddition(){return checkAddition;}
private:
ComposedEntity* creation;
ComposedEntity* currentComp;
vector<ComposedEntity *> IntegratedParts;
wxToolBar* Toolbar;
wxToolBar* MainToolbar;
wxComboBox* selectComposedtoView;
wxComboBox* CurrentComposed;
Canvas *canvas3d;
PositionableEntity* Temp;
CylindricalPart *cylin;
SpherePart* sphere;
PrismaticPart* prism;
GenericSlider *PositionX,*PositionY,*PositionZ;
GenericSlider *Roll,*Pitch,*Yaw,*Height,*Radio,*BaseVertex;
int type,ActualComp;
wxString Name;
wxArrayString VComposedNames;
wxArrayString ComposedIntegratedNames;
globalView* CreateFig;
bool checkAddition;
DECLARE_EVENT_TABLE();
};
#endif // __APOLO__CREATE_COMPOSED__H