PanelBullEyeOptions.h

Go to the documentation of this file.
00001 #ifndef __PanelBullEyeOptions_h_INCLUDED_H__
00002 #define __PanelBullEyeOptions_h_INCLUDED_H__
00003 
00004 
00005 // -----------------------------------------------------------------------------------------------------------
00006 // WX headers inclusion.
00007 // For compilers that support precompilation, includes <wx/wx.h>.
00008 // -----------------------------------------------------------------------------------------------------------
00009 
00010 #include <wx/wxprec.h>
00011 #ifdef __BORLANDC__
00012 #pragma hdrstop
00013 #endif
00014 #ifndef WX_PRECOMP
00015 #include <wx/wx.h>
00016 #endif
00017 
00018 #include <wx/grid.h>
00019 
00020 #include <sstream>
00021 //------------------------------------------------------------------------------------------------------------
00022 // Includes
00023 //------------------------------------------------------------------------------------------------------------
00024 #include "wxContourMainFrame.h"
00025 #include <wx/spinctrl.h>
00026 
00027 
00028 
00029 class  PanelBullEyeOptions : public wxPanel {
00030 public:
00031         PanelBullEyeOptions(wxWindow* parent, wxSize size);
00032         ~PanelBullEyeOptions ();
00033         void onRefreshPanel( wxCommandEvent& event );
00034         int GetNumberOfCrowns();
00035         int GetNumberOfSections(int nCrown);
00036         int GetRadioOfCrown(int nCrown);
00037         double GetAngOfCrownSection(int nCrown,int section);
00038         double GetAngDeltaOfCrownSection(int nCrown);
00039 protected:
00040 
00041 private:
00042         int                                                     _maxLevels;
00043         int                                                     _maxSections;
00044         wxRadioBox                                      *_radioboxBullEyeGenOpt;
00045         wxSpinCtrl                                      *_spinctrlBullEyeNumOfCrowns;
00046         wxSpinCtrl                                      *_spinctrlBullEyeNumOfSec;
00047         wxSlider                                        *_sliderBullEyeAngle;
00048         std::vector<wxSpinCtrl *>       _lstBullEyeDetailNumOfSec;
00049         std::vector<wxSlider *>         _lstBullEyeDetailRadio;
00050         std::vector<wxSlider *>         _lstBullEyeDetailAngle;
00051 
00052 
00053         
00054 
00055         void RefreshPanel();
00056 };
00057 
00058 
00059 #endif // __wxContourEventHandler_HEADER_FILE__

Generated on Wed Jun 27 23:28:32 2012 for creaContours_lib by  doxygen 1.5.7.1