00001 00021 #ifndef MAIN_DIALOG_H_ 00022 #define MAIN_DIALOG_H_ 00023 00024 #include "Main_Dialog_Base.h" 00025 #include <wx/wx.h> 00026 00030 class Main_Dialog : public MainDialogBase 00031 { 00032 00033 protected: 00034 00038 void onDialogClose(wxCloseEvent &event); 00039 00043 void onObjectModelSelected(wxCommandEvent &event); 00044 00048 void onCancelPressed( wxCommandEvent& event ); 00049 00053 void onNextPressed( wxCommandEvent& event ); 00054 00058 void onKillFocusName(wxFocusEvent &event); 00059 void onKillFocusOrientationX(wxFocusEvent &event); 00060 void onKillFocusOrientationY(wxFocusEvent &event); 00061 void onKillFocusOrientationZ(wxFocusEvent &event); 00062 void onKillFocusDiameter(wxFocusEvent &event); 00063 void onKillFocusScore3D(wxFocusEvent &event); 00064 00068 void onTextEnterName(wxCommandEvent &event); 00069 void onTextEnterOrientationX(wxCommandEvent &event); 00070 void onTextEnterOrientationY(wxCommandEvent &event); 00071 void onTextEnterOrientationZ(wxCommandEvent &event); 00072 void onTextEnterDiameter(wxCommandEvent &event); 00073 void onTextEnterScore3D(wxCommandEvent &event); 00074 00075 00076 00077 public: 00078 00084 Main_Dialog(wxWindow* parent); 00085 00100 Main_Dialog(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); 00101 }; 00102 00103 00104 #endif //MAIN_DIALOG_H_ 00105 00106