Go to the documentation of this file.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 wxStaticText* m_staticText11;
00056
00057 wxSpinCtrl* desired_grasp_approach_spin_;
00058 wxStaticText* m_staticText13;
00059 wxStaticText* m_staticText12;
00060
00061 wxSpinCtrl* min_grasp_approach_spin_;
00062 wxStaticText* m_staticText14;
00063 wxStaticText* m_staticText121;
00064
00065 wxSpinCtrl* max_contact_force_spin_;
00066 wxStaticText* m_staticText141;
00067 wxButton* set_defaults_button_;
00068
00069 wxButton* accept_button_;
00070 wxButton* cancel_button_;
00071
00072
00073 virtual void reactiveGraspingClicked( wxCommandEvent& event ) { event.Skip(); }
00074 virtual void reactiveForceClicked( wxCommandEvent& event ) { event.Skip(); }
00075 virtual void setDefaultsClicked( wxCommandEvent& event ) { event.Skip(); }
00076 virtual void acceptClicked( wxCommandEvent& event ) { event.Skip(); }
00077
00078
00079 public:
00080
00081 AdvancedOptionsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Advanced Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 439,300 ), long style = wxDEFAULT_DIALOG_STYLE );
00082 ~AdvancedOptionsDialogBase();
00083
00084 };
00085
00089 class InteractiveManipulationFrameBase : public wxPanel
00090 {
00091 private:
00092
00093 protected:
00094 wxNotebook* m_notebook1;
00095 wxPanel* grasp_place_panel_;
00096 wxButton* grasp_button_;
00097 wxButton* place_button_;
00098
00099 wxButton* advanced_options_button_;
00100 wxButton* planned_move_button_;
00101 wxPanel* collision_panel_;
00102 wxButton* reset_button_;
00103 wxChoice* reset_choice_;
00104 wxCheckBox* collision_box_;
00105
00106 wxButton* model_object_button_;
00107 wxPanel* helper_panel_;
00108 wxButton* arm_go_button_;
00109 wxChoice* arm_action_choice_;
00110 wxChoice* arm_planner_choice_;
00111 wxStaticText* m_staticText9;
00112 wxSlider* gripper_slider_;
00113 wxStaticText* m_staticText11;
00114 wxPanel* actions_panel_;
00115 wxButton* rcommand_run_button_;
00116 wxChoice* rcommander_choice;
00117 wxButton* rcommander_refresh_button_;
00118 wxStaticText* m_staticText39;
00119 wxStaticText* status_label_;
00120
00121 wxButton* cancel_button_;
00122 wxButton* stop_nav_button_;
00123
00124 wxStaticText* m_staticText38;
00125 wxChoice* arm_choice_;
00126
00127
00128 virtual void graspButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00129 virtual void placeButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00130 virtual void advancedOptionsClicked( wxCommandEvent& event ) { event.Skip(); }
00131 virtual void plannedMoveButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00132 virtual void resetButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00133 virtual void collisionBoxClicked( wxCommandEvent& event ) { event.Skip(); }
00134 virtual void modelObjectClicked( wxCommandEvent& event ) { event.Skip(); }
00135 virtual void armGoButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00136 virtual void gripperSliderScrollChanged( wxScrollEvent& event ) { event.Skip(); }
00137 virtual void rcommandRunButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00138 virtual void rcommandRefreshButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00139 virtual void cancelButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00140 virtual void stopNavButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00141
00142
00143 public:
00144
00145 InteractiveManipulationFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 400,190 ), long style = wxTAB_TRAVERSAL );
00146 ~InteractiveManipulationFrameBase();
00147
00148 };
00149
00153 class CameraFocusFrameBase : public wxPanel
00154 {
00155 private:
00156
00157 protected:
00158 wxStaticText* m_staticText16;
00159 wxButton* left_button_;
00160 wxButton* top_button_;
00161 wxButton* front_button_;
00162 wxButton* right_button_;
00163 wxCheckBox* accept_box_;
00164
00165 wxButton* overhead_button_1;
00166
00167
00168 virtual void leftButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00169 virtual void topButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00170 virtual void frontButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00171 virtual void rightButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00172 virtual void acceptBoxChecked( wxCommandEvent& event ) { event.Skip(); }
00173 virtual void overheadButtonClicked( wxCommandEvent& event ) { event.Skip(); }
00174
00175
00176 public:
00177
00178 CameraFocusFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 470,83 ), long style = wxTAB_TRAVERSAL );
00179 ~CameraFocusFrameBase();
00180
00181 };
00182
00183 #endif //__interactive_manipulation_ui__