00001 00021 #ifndef DESC_MODELS_DIALOG_H_ 00022 #define DESC_MODELS_DIALOG_H_ 00023 00024 #include "Desc_Models_Dialog_Base.h" 00025 #include "View_Params_Wrapper.h" 00026 #include <wx/wx.h> 00027 #include <vector> 00028 00029 00033 class DescModelsDialog : public DescModelsDialogBase 00034 { 00035 00036 private: 00037 00039 std::string name; 00040 00042 std::string object_model; 00043 00045 std::string mesh; 00046 00048 std::string rotation_type; 00049 00051 std::string orientation_x; 00052 00054 std::string orientation_y; 00055 00057 std::string orientation_z; 00058 00060 std::string diameter; 00061 00063 std::string score_3D; 00064 00066 std::vector<ViewParamsWrapper> views; 00067 00071 void resetGuiValues(); 00072 00073 00074 protected: 00075 00079 void OnDialogClose( wxCloseEvent& event ); 00080 00084 void onAddModelClicked( wxCommandEvent& event ); 00085 00089 void onDeleteModelClicked( wxCommandEvent& event ); 00090 00094 void onCancelClicked( wxCommandEvent& event ); 00095 00099 void onFinishClicked( wxCommandEvent& event ); 00100 00104 void onListBoxSelected(wxCommandEvent &event); 00105 00109 void onBackClicked(wxCommandEvent &event); 00110 00111 00115 void onEditModelClicked(wxCommandEvent &event); 00116 00117 00121 void onImageClicked(wxMouseEvent &event); 00122 00126 void onImageClickedRight(wxMouseEvent &event); 00127 00128 public: 00129 00143 DescModelsDialog(wxWindow* parent, std::string name, std::string object_model, std::string mesh, std::string rotation_type, std::string orientation_x, std::string orientation_y, std::string orientation_z, std::string diameter, std::string score_3D); 00144 00148 std::vector<std::string>getObjectParameters(); 00149 00153 std::vector<ViewParamsWrapper> getViews(); 00154 }; 00155 00156 00157 #endif //DESC_MODELS_DIALOG_H_ 00158 00159 00160