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); 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 virtual void Refresh(); 00025 void UpdateControlPanel(); 00026 00027 private: 00028 wxVtkMPR3DView *_wxvtkmpr3Dview; 00029 00030 wxSlider *_opacity; 00031 wxSlider *_isoValue; 00032 wxSlider *_isoValueSpin; 00033 wxStaticText *_isoValueText; 00034 wxRadioButton *_surfA; 00035 wxRadioButton *_surfB; 00036 wxRadioButton *_surfC; 00037 wxRadioButton *_surfD; 00038 wxCheckBox *_visible; 00039 wxButton *_color; 00040 wxSlider *_positionX; 00041 wxSlider *_positionY; 00042 wxSlider *_positionZ; 00043 00044 wxCheckBox *_ckBoxXYZ; 00045 wxCheckBox *_ckBoxPlane; 00046 00047 00048 protected: 00049 00050 }; 00051 00052 #endif /*WXVTKMPR3DVIEWCNTRLPANEL_H_*/