00001 #ifndef WXVTKMPR3DVIEWCNTRLPANEL_H_ 00002 #define WXVTKMPR3DVIEWCNTRLPANEL_H_ 00003 00004 #include "wxVtkMPR3DView.h" 00005 00006 #include "wx/wx.h" 00007 00008 class wxVtkMPR3DView; 00009 00010 class wxVtkMPR3DViewCntrlPanel: public wxPanel 00011 { 00012 public: 00013 wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DView *wxvtkmpr3Dview, bool align); 00014 ~wxVtkMPR3DViewCntrlPanel(); 00015 void OnVisibleAxisX(wxCommandEvent& event); 00016 void OnVisibleAxisY(wxCommandEvent& event); 00017 void OnVisibleAxisZ(wxCommandEvent& event); 00018 void OnPositionX(wxScrollEvent& event); 00019 void OnPositionY(wxScrollEvent& event); 00020 void OnPositionZ(wxScrollEvent& event); 00021 void OnVisibleAxisXYZ(wxCommandEvent& event); 00022 void OnVisiblePlane(wxCommandEvent& event); 00023 void OnEditColorTable(wxCommandEvent& event); 00024 00025 void OnVisibleFreePlaneX(wxCommandEvent& event); 00026 void OnVisibleFreePlaneY(wxCommandEvent& event); 00027 void OnVisibleFreePlaneZ(wxCommandEvent& event); 00028 void OnVisibleFreePlaneInteraction(wxCommandEvent& event); 00029 00030 00031 00032 virtual void Refresh(); 00033 void UpdateControlPanel(); 00034 00035 bool GetVisibleX(); 00036 bool GetVisibleY(); 00037 bool GetVisibleZ(); 00038 bool GetVisibleXYZ(); 00039 bool GetVisiblePlane(); 00040 void SetVisibleX(bool value); 00041 void SetVisibleY(bool value); 00042 void SetVisibleZ(bool value); 00043 void SetVisibleXYZ(bool value); 00044 void SetVisiblePlane(bool value); 00045 00046 private: 00047 wxVtkMPR3DView *_wxvtkmpr3Dview; 00048 00049 wxSlider *_opacity; 00050 wxSlider *_isoValue; 00051 wxSlider *_isoValueSpin; 00052 wxStaticText *_isoValueText; 00053 wxRadioButton *_surfA; 00054 wxRadioButton *_surfB; 00055 wxRadioButton *_surfC; 00056 wxRadioButton *_surfD; 00057 wxCheckBox *_visible; 00058 wxButton *_color; 00059 wxSlider *_positionX; 00060 wxSlider *_positionY; 00061 wxSlider *_positionZ; 00062 00063 //CPR: Added 30 nov 2009 00064 wxCheckBox *ckBoxX; 00065 wxCheckBox *ckBoxY; 00066 wxCheckBox *ckBoxZ; 00067 00068 wxCheckBox *_ckBoxXYZ; 00069 wxCheckBox *_ckBoxPlane; 00070 00071 wxCheckBox *_ckFreePlaneX; 00072 wxCheckBox *_ckFreePlaneY; 00073 wxCheckBox *_ckFreePlaneZ; 00074 wxCheckBox *_ckFreePlaneInteraction; 00075 00076 00077 protected: 00078 00079 }; 00080 00081 #endif /*WXVTKMPR3DVIEWCNTRLPANEL_H_*/