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