]> Creatis software - creaContours.git/blob - lib/Interface_ManagerContour_NDimensions/PanelBullEyeOptions.h
8dd21496ba035c5bddc3be2b893ea2cc4f154ad2
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / PanelBullEyeOptions.h
1 #ifndef __PanelBullEyeOptions_h_INCLUDED_H__
2 #define __PanelBullEyeOptions_h_INCLUDED_H__
3
4
5 // -----------------------------------------------------------------------------------------------------------
6 // WX headers inclusion.
7 // For compilers that support precompilation, includes <wx/wx.h>.
8 // -----------------------------------------------------------------------------------------------------------
9
10 #include <wx/wxprec.h>
11 #ifdef __BORLANDC__
12 #pragma hdrstop
13 #endif
14 #ifndef WX_PRECOMP
15 #include <wx/wx.h>
16 #endif
17
18 #include <wx/grid.h>
19
20 #include <sstream>
21 //------------------------------------------------------------------------------------------------------------
22 // Includes
23 //------------------------------------------------------------------------------------------------------------
24 #include "wxContourMainFrame.h"
25 #include <wx/spinctrl.h>
26
27
28
29 class  PanelBullEyeOptions : public wxPanel {
30 public:
31         PanelBullEyeOptions(wxWindow* parent, wxSize size);
32         ~PanelBullEyeOptions ();
33         void onRefreshPanel( wxCommandEvent& event );
34         int GetNumberOfCrowns();
35         int GetNumberOfSections(int nCrown);
36         int GetRadioOfCrown(int nCrown);
37         double GetAngOfCrownSection(int nCrown,int section);
38         double GetAngDeltaOfCrownSection(int nCrown);
39 protected:
40
41 private:
42         int                                                     _maxLevels;
43         int                                                     _maxSections;
44         wxRadioBox                                      *_radioboxBullEyeGenOpt;
45         wxSpinCtrl                                      *_spinctrlBullEyeNumOfCrowns;
46         wxSpinCtrl                                      *_spinctrlBullEyeNumOfSec;
47         wxSlider                                        *_sliderBullEyeAngle;
48         std::vector<wxSpinCtrl *>       _lstBullEyeDetailNumOfSec;
49         std::vector<wxSlider *>         _lstBullEyeDetailRadio;
50         std::vector<wxSlider *>         _lstBullEyeDetailAngle;
51
52
53         
54
55         void RefreshPanel();
56 };
57
58
59 #endif // __wxContourEventHandler_HEADER_FILE__