-
Notifications
You must be signed in to change notification settings - Fork 5
/
robotSimPanel.h
46 lines (36 loc) · 1.03 KB
/
robotSimPanel.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
#ifndef __APOLO__ROBOT_SIM_PANEL__H
#define __APOLO__ROBOT_SIM_PANEL__H
#include "apoloPanel.h"
#include "nodeTree.h"
#include "genericSlider.h"
#include "manageWindows.h"
#include "tree.h"
#include <vector>
#include <wx/wx.h>
class ManageWindows;
class RobotSimPanel : public wxFrame
{
public:
RobotSimPanel(wxWindow* parent, wxWindowID id,const wxString& title_frame, NodeTree* itemData,NodeTree * parentData=NULL,bool simplejoint=false);
void OnValueChanged(wxCommandEvent& event);
wxStaticText* getTitle(){return title;}
void OnClose(wxCloseEvent& event);
NodeTree* getItemNode () {return itemnode;}
vector <GenericSlider *> listJoints;
NodeTree* getItemParentData() {return itemParentData;}
void setManageWindow (ManageWindows* mg);
void Delete();
private:
wxStaticText* title;
int numJoints;
double val;
double min,max;
bool simplejoint;
wxString nameJoint;
GenericSlider* joint;
NodeTree* itemnode;
ManageWindows* managewindow;
NodeTree * itemParentData;
DECLARE_EVENT_TABLE();
};
#endif //__APOLO__ROBOT_SIM_PANEL__H