]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h
d0ba6a2fe64e6cfba91907bcebf4c340770e7b60
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkMPR3DViewCntrlPanel.h
1 #ifndef WXVTKMPR3DVIEWCNTRLPANEL_H_
2 #define WXVTKMPR3DVIEWCNTRLPANEL_H_
3
4 #include "wxVtkMPR3DView.h"
5
6 #include "wx/wx.h"
7
8 class wxVtkMPR3DView;
9
10 class wxVtkMPR3DViewCntrlPanel: public wxPanel
11 {
12 public:
13         wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DView *wxvtkmpr3Dview, bool align);
14         ~wxVtkMPR3DViewCntrlPanel();
15         void            OnVisibleAxisX(wxCommandEvent& event);
16         void            OnVisibleAxisY(wxCommandEvent& event);
17         void            OnVisibleAxisZ(wxCommandEvent& event);
18         void            OnPositionX(wxScrollEvent& event);
19         void            OnPositionY(wxScrollEvent& event);
20         void            OnPositionZ(wxScrollEvent& event);
21         void            OnVisibleAxisXYZ(wxCommandEvent& event);
22         void            OnVisiblePlane(wxCommandEvent& event);
23         void            OnEditColorTable(wxCommandEvent& event);
24         virtual void Refresh();
25         void            UpdateControlPanel();
26
27         bool            GetVisibleX();
28         bool            GetVisibleY();
29         bool            GetVisibleZ();
30
31 private:
32         wxVtkMPR3DView  *_wxvtkmpr3Dview;
33
34         wxSlider                *_opacity;
35         wxSlider                *_isoValue;
36         wxSlider                *_isoValueSpin;
37         wxStaticText    *_isoValueText;
38         wxRadioButton   *_surfA;
39         wxRadioButton   *_surfB;
40         wxRadioButton   *_surfC;
41         wxRadioButton   *_surfD;
42         wxCheckBox              *_visible;
43         wxButton                *_color;
44         wxSlider                *_positionX;
45         wxSlider                *_positionY;    
46         wxSlider                *_positionZ;
47         
48         //CPR: Added 30 nov 2009
49         wxCheckBox              *ckBoxX;
50         wxCheckBox              *ckBoxY;
51         wxCheckBox              *ckBoxZ;
52
53         wxCheckBox              *_ckBoxXYZ;
54         wxCheckBox              *_ckBoxPlane;
55
56
57 protected:
58
59 };
60
61 #endif /*WXVTKMPR3DVIEWCNTRLPANEL_H_*/