]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/include/wxMaracasParametersDialog.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / include / wxMaracasParametersDialog.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxMaracasParametersDialog.h,v $
5   Language:  C++
6   Date:      $Date: 2009/05/14 13:54:54 $
7   Version:   $Revision: 1.1 $
8
9   Copyright: (c) 2002, 2003
10   License:
11   
12      This software is distributed WITHOUT ANY WARRANTY; without even 
13      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14      PURPOSE.  See the above copyright notice for more information.
15
16 =========================================================================*/
17
18 #ifndef __WX__GENERAL__PARAMETERS__DIALOG__
19 #define __WX__GENERAL__PARAMETERS__DIALOG__
20
21 #include <wx/wx.h>
22 #include <wx/dialog.h>
23 #include <wx/colordlg.h>
24 #include <wx/dirdlg.h>
25
26 #include <kernel/marInterface.h>
27 //XRC generated file:
28 #include "widgets/wxParametersDialog.h"
29
30 /**
31  *  \brief Dialog class to select parameters
32  */
33 class wxMaracasParametersDialog : public wxParametersDialog
34 {
35 public:
36
37     wxMaracasParametersDialog( wxWindow* parent, marInterface* mar );
38
39     void Reset( );
40     bool Apply( );
41
42     void OnOk( wxCommandEvent& event );
43     void OnCancel( wxCommandEvent& event );
44         void OnDefault( wxCommandEvent& event );
45     void OnReset( wxCommandEvent& event );
46     void OnApply( wxCommandEvent& event );
47
48
49 // PS ->     void OnBrowseWorkDir( wxCommandEvent& event );
50 // PS ->     void OnBrowseDICOMDir( wxCommandEvent& event );
51
52 // PS ->     void OnChoose3DColor( wxCommandEvent& event );
53 // PS ->     void OnChooseAxisColor( wxCommandEvent& event );
54
55 private:
56     DECLARE_EVENT_TABLE( );
57     marInterface*       _mar;
58         wxString                _bak_edtThresholdIsoContours_String;
59         wxString                _bak_edtFlexionCoef_String;
60         wxString                _bak_edtTensionCoef_String;
61         wxString                _bak_edtMaskSize_String;
62         wxString                _bak_edtDiscreetStep_String;
63         wxWindow*               _parent;
64
65         void SetBakEdit();
66
67 };
68
69 #endif // __WX__GENERAL__PARAMETERS__DIALOG__