1 /*# ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
26 #ifndef WXVTKMPR3DVIEWCNTRLPANEL_H_
27 #define WXVTKMPR3DVIEWCNTRLPANEL_H_
29 #include "wxVtkMPR3DView.h"
35 class wxVtkMPR3DViewCntrlPanel: public wxPanel
38 wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DView *wxvtkmpr3Dview, bool align);
39 ~wxVtkMPR3DViewCntrlPanel();
40 void OnVisibleAxisX(wxCommandEvent& event);
41 void OnVisibleAxisY(wxCommandEvent& event);
42 void OnVisibleAxisZ(wxCommandEvent& event);
43 void OnPositionX(wxScrollEvent& event);
44 void OnPositionY(wxScrollEvent& event);
45 void OnPositionZ(wxScrollEvent& event);
46 void OnVisibleAxisXYZ(wxCommandEvent& event);
47 void OnVisiblePlane(wxCommandEvent& event);
48 void OnEditColorTable(wxCommandEvent& event);
49 ////EED 05Nov2012 void On_BW_Color_Plane(wxCommandEvent& event);
51 void OnVisibleFreePlaneX(wxCommandEvent& event);
52 void OnVisibleFreePlaneY(wxCommandEvent& event);
53 void OnVisibleFreePlaneZ(wxCommandEvent& event);
54 void OnVisibleFreePlaneInteraction(wxCommandEvent& event);
55 void OnSetStereo(wxCommandEvent& event);
56 void OnFreePlanesOrtho(wxCommandEvent& event);
57 void OnOutline(wxCommandEvent& event);
58 void OnBackGroundBlack(wxCommandEvent& event);
59 void OnInterpolate(wxCommandEvent& event);
62 virtual void Refresh();
63 void UpdateControlPanel(bool firsttime=true);
69 bool GetVisiblePlane();
70 ////EED 05Nov2012 bool Get_BW_Color_Plane();
71 void SetVisibleX(bool value);
72 void SetVisibleY(bool value);
73 void SetVisibleZ(bool value);
74 void SetVisibleXYZ(bool value);
75 void SetVisiblePlane(bool value);
78 wxVtkMPR3DView *_wxvtkmpr3Dview;
82 wxSlider *_isoValueSpin;
83 wxStaticText *_isoValueText;
84 wxRadioButton *_surfA;
85 wxRadioButton *_surfB;
86 wxRadioButton *_surfC;
87 wxRadioButton *_surfD;
94 //CPR: Added 30 nov 2009
100 ////EED 05Nov2012 wxCheckBox *_ckBox_BW_Color_Plane;
102 wxCheckBox *_ckBoxXYZ;
103 wxCheckBox *_ckBoxPlane;
105 wxCheckBox *_ckFreePlaneX;
106 wxCheckBox *_ckFreePlaneY;
107 wxCheckBox *_ckFreePlaneZ;
108 wxCheckBox *_ckFreePlaneInteraction;
110 wxComboBox *_cbStereo;
112 wxCheckBox *_ckBoxOutline;
113 wxCheckBox *_ckBoxBackGroundBlack;
114 wxCheckBox *_ckBoxInterpolate;
120 #endif /*WXVTKMPR3DVIEWCNTRLPANEL_H_*/