]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h
no 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         
25         void OnVisibleFreePlaneX(wxCommandEvent& event);
26         void OnVisibleFreePlaneY(wxCommandEvent& event);
27         void OnVisibleFreePlaneZ(wxCommandEvent& event);
28         void OnVisibleFreePlaneInteraction(wxCommandEvent& event);
29         
30         
31         
32         virtual void Refresh();
33         void            UpdateControlPanel();
34
35         bool            GetVisibleX();
36         bool            GetVisibleY();
37         bool            GetVisibleZ();
38         bool            GetVisibleXYZ();
39         bool            GetVisiblePlane();
40         void            SetVisibleX(bool value);
41         void            SetVisibleY(bool value);
42         void            SetVisibleZ(bool value);
43         void            SetVisibleXYZ(bool value);
44         void            SetVisiblePlane(bool value);
45
46 private:
47         wxVtkMPR3DView  *_wxvtkmpr3Dview;
48
49         wxSlider                *_opacity;
50         wxSlider                *_isoValue;
51         wxSlider                *_isoValueSpin;
52         wxStaticText    *_isoValueText;
53         wxRadioButton   *_surfA;
54         wxRadioButton   *_surfB;
55         wxRadioButton   *_surfC;
56         wxRadioButton   *_surfD;
57         wxCheckBox              *_visible;
58         wxButton                *_color;
59         wxSlider                *_positionX;
60         wxSlider                *_positionY;    
61         wxSlider                *_positionZ;
62         
63         //CPR: Added 30 nov 2009
64         wxCheckBox              *ckBoxX;
65         wxCheckBox              *ckBoxY;
66         wxCheckBox              *ckBoxZ;
67
68         wxCheckBox              *_ckBoxXYZ;
69         wxCheckBox              *_ckBoxPlane;
70         
71         wxCheckBox      *_ckFreePlaneX;
72         wxCheckBox      *_ckFreePlaneY;
73         wxCheckBox      *_ckFreePlaneZ;
74         wxCheckBox      *_ckFreePlaneInteraction;
75
76
77 protected:
78
79 };
80
81 #endif /*WXVTKMPR3DVIEWCNTRLPANEL_H_*/