X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR3DViewCntrlPanel.h;h=c38439ea31dc6b434f962bd8643bc47e12580701;hb=25e3adf442d6a8d357d52410267445c54426c525;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..c38439e 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.h @@ -1,3 +1,28 @@ +/*# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Sant�) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# Previous Authors : Laurent Guigues, Jean-Pierre Roux +# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil +# +# This software is governed by the CeCILL-B license under French law and +# abiding by the rules of distribution of free software. You can use, +# modify and/ or redistribute the software under the terms of the CeCILL-B +# license as circulated by CEA, CNRS and INRIA at the following URL +# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +# or in the file LICENSE.txt. +# +# As a counterpart to the access to the source code and rights to copy, +# modify and redistribute granted by the license, users are provided only +# with a limited warranty and the software's author, the holder of the +# economic rights, and the successive licensors have only limited +# liability. +# +# The fact that you are presently reading this means that you have had +# knowledge of the CeCILL-B license and that you accept its terms. +# ------------------------------------------------------------------------ */ + #ifndef WXVTKMPR3DVIEWCNTRLPANEL_H_ #define WXVTKMPR3DVIEWCNTRLPANEL_H_ @@ -10,7 +35,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); @@ -20,9 +45,34 @@ public: void OnPositionZ(wxScrollEvent& event); void OnVisibleAxisXYZ(wxCommandEvent& event); void OnVisiblePlane(wxCommandEvent& event); - void OnEditColorTable(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); + void OnFreePlanesOrtho(wxCommandEvent& event); + void OnOutline(wxCommandEvent& event); + void OnBackGroundBlack(wxCommandEvent& event); + void OnInterpolate(wxCommandEvent& event); + void OnFixAxis2D(wxCommandEvent& event); + void OnOpacityAxis(wxCommandEvent& event); + + virtual void Refresh(); - void UpdateControlPanel(); + void UpdateControlPanel(bool firsttime=true); + + bool GetVisibleX(); + bool GetVisibleY(); + bool GetVisibleZ(); + bool GetVisibleXYZ(); + bool GetVisiblePlane(); +////EED 05Nov2012 bool Get_BW_Color_Plane(); + void SetVisibleX(bool value); + void SetVisibleY(bool value); + void SetVisibleZ(bool value); + void SetVisibleXYZ(bool value); + void SetVisiblePlane(bool value); private: wxVtkMPR3DView *_wxvtkmpr3Dview; @@ -40,10 +90,30 @@ private: wxSlider *_positionX; wxSlider *_positionY; wxSlider *_positionZ; - + + //CPR: Added 30 nov 2009 + wxCheckBox *_ckBoxX; + wxCheckBox *_ckBoxY; + wxCheckBox *_ckBoxZ; + + //EED 03 nov 2012 +////EED 05Nov2012 wxCheckBox *_ckBox_BW_Color_Plane; + wxCheckBox *_ckBoxXYZ; + wxCheckBox *_ckBoxFixAxis2D; + wxSlider *_opacityAxis; wxCheckBox *_ckBoxPlane; + + wxCheckBox *_ckFreePlaneX; + wxCheckBox *_ckFreePlaneY; + wxCheckBox *_ckFreePlaneZ; + wxCheckBox *_ckFreePlaneInteraction; + + wxComboBox *_cbStereo; + wxCheckBox *_ckBoxOutline; + wxCheckBox *_ckBoxBackGroundBlack; + wxCheckBox *_ckBoxInterpolate; protected: