00001
00002
00003
00004
00005
00007
00008 #ifndef __interactive_manipulation_ui__
00009 #define __interactive_manipulation_ui__
00010
00011 #include <wx/string.h>
00012 #include <wx/checkbox.h>
00013 #include <wx/gdicmn.h>
00014 #include <wx/font.h>
00015 #include <wx/colour.h>
00016 #include <wx/settings.h>
00017 #include <wx/stattext.h>
00018 #include <wx/spinctrl.h>
00019 #include <wx/sizer.h>
00020 #include <wx/choice.h>
00021 #include <wx/button.h>
00022 #include <wx/dialog.h>
00023 #include <wx/panel.h>
00024 #include <wx/bitmap.h>
00025 #include <wx/image.h>
00026 #include <wx/icon.h>
00027 #include <wx/slider.h>
00028 #include <wx/notebook.h>
00029
00031
00032
00036 class AdvancedOptionsDialogBase : public wxDialog
00037 {
00038 private:
00039
00040 protected:
00041 wxCheckBox* reactive_grasping_box_;
00042
00043 wxStaticText* adv_text_1_;
00044 wxSpinCtrl* lift_distance_spin_;
00045 wxStaticText* adv_text_2_;
00046 wxCheckBox* reactive_transport_box_;
00047
00048 wxStaticText* adv_text_3_;
00049 wxSpinCtrl* retreat_distance_spin_;
00050 wxStaticText* adv_text_4_;
00051 wxCheckBox* reactive_place_box_;
00052
00053 wxStaticText* adv_text_5_;
00054 wxChoice* lift_direction_choice_;
00055 wxButton* set_defaults_button_;
00056
00057 wxButton* accept_button_;
00058 wxButton* cancel_button_;
00059
00060
00061 virtual void reactiveGraspingClicked( wxCommandEvent& event ) { event.Skip(); }
00062 virtual void reactiveForceClicked( wxCommandEvent& event ) { event.Skip(); }
00063 virtual void setDefaultsClicked( wxCommandEvent& event ) { event.Skip(); }
00064 virtual void acceptClicked( wxCommandEvent& event ) { event.Skip(); }
00065
00066
00067 public:
00068
00069 AdvancedOptionsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Advanced Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
00070 ~AdvancedOptionsDialogBase();
00071
00072 };
00073
00077 class InteractiveManipulationFrameBase : public wxPanel
00078 {
00079 private:
00080
00081 protected:
00082 wxNotebook* m_notebook1;
00083 wxPanel* grasp_place_panel_;
00084 wxButton* grasp_button_;
00085 wxStaticText* m_staticText10;
00086 wxChoice* grasp_object_choice_;
00087 wxButton* place_button_;
00088 wxButton* advanced_options_button_;
00089 wxPanel* collision_panel_;
00090 wxButton* reset_button_;
00091 wxChoice* reset_choice_;
00092 wxButton* new_map_button_;
00093 wxCheckBox* collision_box_;
00094 wxButton* model_object_button_;
00095 wxPanel* m_panel3;
00096 wxButton* arm_go_button_;
00097 wxChoice* arm_action_choice_;
00098 wxChoice* arm_planner_choice_;
00099 wxStaticText* m_staticText9;
00100 wxSlider* gripper_slider_;
00101 wxStaticText* m_staticText11;
00102 wxButton* look_button_;
00103 wxStaticText* m_staticText39;
00104 wxStaticText* status_label_;
00105
00106 wxButton* cancel_button_;
00107
00108 wxStaticText* m_staticText38;
00109 wxChoice* arm_choice_;
00110
00111
00112 virtual void graspButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00113 virtual void placeButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00114 virtual void advancedOptionsClicked( wxCommandEvent& event ) { event.Skip(); }
00115 virtual void resetButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00116 virtual void takeMapButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00117 virtual void collisionBoxClicked( wxCommandEvent& event ) { event.Skip(); }
00118 virtual void modelObjectClicked( wxCommandEvent& event ) { event.Skip(); }
00119 virtual void armGoButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00120 virtual void gripperSliderScrollChanged( wxScrollEvent& event ) { event.Skip(); }
00121 virtual void lookButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00122 virtual void cancelButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00123
00124
00125 public:
00126
00127 InteractiveManipulationFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 325,256 ), long style = wxTAB_TRAVERSAL );
00128 ~InteractiveManipulationFrameBase();
00129
00130 };
00131
00132 #endif //__interactive_manipulation_ui__