]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h
*** empty log message ***
[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         bool            GetVisibleXYZ();
31         bool            GetVisiblePlane();
32         void            SetVisibleX(bool value);
33         void            SetVisibleY(bool value);
34         void            SetVisibleZ(bool value);
35         void            SetVisibleXYZ(bool value);
36         void            SetVisiblePlane(bool value);
37
38 private:
39         wxVtkMPR3DView  *_wxvtkmpr3Dview;
40
41         wxSlider                *_opacity;
42         wxSlider                *_isoValue;
43         wxSlider                *_isoValueSpin;
44         wxStaticText    *_isoValueText;
45         wxRadioButton   *_surfA;
46         wxRadioButton   *_surfB;
47         wxRadioButton   *_surfC;
48         wxRadioButton   *_surfD;
49         wxCheckBox              *_visible;
50         wxButton                *_color;
51         wxSlider                *_positionX;
52         wxSlider                *_positionY;    
53         wxSlider                *_positionZ;
54         
55         //CPR: Added 30 nov 2009
56         wxCheckBox              *ckBoxX;
57         wxCheckBox              *ckBoxY;
58         wxCheckBox              *ckBoxZ;
59
60         wxCheckBox              *_ckBoxXYZ;
61         wxCheckBox              *_ckBoxPlane;
62
63
64 protected:
65
66 };
67
68 #endif /*WXVTKMPR3DVIEWCNTRLPANEL_H_*/