00001 /*========================================================================= 00002 00003 Program: wxMaracas 00004 Module: $RCSfile: wxMaracasParametersDialog.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009/05/14 13:54:54 $ 00007 Version: $Revision: 1.1 $ 00008 00009 Copyright: (c) 2002, 2003 00010 License: 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notice for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef __WX__GENERAL__PARAMETERS__DIALOG__ 00019 #define __WX__GENERAL__PARAMETERS__DIALOG__ 00020 00021 #include <wx/wx.h> 00022 #include <wx/dialog.h> 00023 #include <wx/colordlg.h> 00024 #include <wx/dirdlg.h> 00025 00026 #include <kernel/marInterface.h> 00027 //XRC generated file: 00028 #include "widgets/wxParametersDialog.h" 00029 00033 class wxMaracasParametersDialog : public wxParametersDialog 00034 { 00035 public: 00036 00037 wxMaracasParametersDialog( wxWindow* parent, marInterface* mar ); 00038 00039 void Reset( ); 00040 bool Apply( ); 00041 00042 void OnOk( wxCommandEvent& event ); 00043 void OnCancel( wxCommandEvent& event ); 00044 void OnDefault( wxCommandEvent& event ); 00045 void OnReset( wxCommandEvent& event ); 00046 void OnApply( wxCommandEvent& event ); 00047 00048 00049 // PS -> void OnBrowseWorkDir( wxCommandEvent& event ); 00050 // PS -> void OnBrowseDICOMDir( wxCommandEvent& event ); 00051 00052 // PS -> void OnChoose3DColor( wxCommandEvent& event ); 00053 // PS -> void OnChooseAxisColor( wxCommandEvent& event ); 00054 00055 private: 00056 DECLARE_EVENT_TABLE( ); 00057 marInterface* _mar; 00058 wxString _bak_edtThresholdIsoContours_String; 00059 wxString _bak_edtFlexionCoef_String; 00060 wxString _bak_edtTensionCoef_String; 00061 wxString _bak_edtMaskSize_String; 00062 wxString _bak_edtDiscreetStep_String; 00063 wxWindow* _parent; 00064 00065 void SetBakEdit(); 00066 00067 }; 00068 00069 #endif // __WX__GENERAL__PARAMETERS__DIALOG__