X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR3DViewCntrlPanel.h;h=a9880a904a8307167b3e99f44e40b6a8b01d798e;hb=5380f9e66daf440f27f33bb060e5ae1a646612cd;hp=4d5c1edb5868d1f223ed4f214b3a9cf77abccd97;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h index 4d5c1ed..a9880a9 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h @@ -10,7 +10,7 @@ class wxVtkMPR3DView; class wxVtkMPR3DViewCntrlPanel: public wxPanel { public: - wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DView *wxvtkmpr3Dview); + wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DView *wxvtkmpr3Dview, bool align); ~wxVtkMPR3DViewCntrlPanel(); void OnVisibleAxisX(wxCommandEvent& event); void OnVisibleAxisY(wxCommandEvent& event); @@ -21,9 +21,29 @@ public: void OnVisibleAxisXYZ(wxCommandEvent& event); void OnVisiblePlane(wxCommandEvent& event); void OnEditColorTable(wxCommandEvent& event); + + void OnVisibleFreePlaneX(wxCommandEvent& event); + void OnVisibleFreePlaneY(wxCommandEvent& event); + void OnVisibleFreePlaneZ(wxCommandEvent& event); + void OnVisibleFreePlaneInteraction(wxCommandEvent& event); + void OnSetStereo(wxCommandEvent& event); + + + virtual void Refresh(); void UpdateControlPanel(); + bool GetVisibleX(); + bool GetVisibleY(); + bool GetVisibleZ(); + bool GetVisibleXYZ(); + bool GetVisiblePlane(); + void SetVisibleX(bool value); + void SetVisibleY(bool value); + void SetVisibleZ(bool value); + void SetVisibleXYZ(bool value); + void SetVisiblePlane(bool value); + private: wxVtkMPR3DView *_wxvtkmpr3Dview; @@ -40,9 +60,21 @@ private: wxSlider *_positionX; wxSlider *_positionY; wxSlider *_positionZ; + + //CPR: Added 30 nov 2009 + wxCheckBox *ckBoxX; + wxCheckBox *ckBoxY; + wxCheckBox *ckBoxZ; wxCheckBox *_ckBoxXYZ; wxCheckBox *_ckBoxPlane; + + wxCheckBox *_ckFreePlaneX; + wxCheckBox *_ckFreePlaneY; + wxCheckBox *_ckFreePlaneZ; + wxCheckBox *_ckFreePlaneInteraction; + + wxComboBox *_cbStereo; protected: