00001 #ifndef WXVTKCLIPPING3DVIEWCNTRLPANEL_H_ 00002 #define WXVTKCLIPPING3DVIEWCNTRLPANEL_H_ 00003 00004 #include "wxVtkClipping3DView.h" 00005 #include "wx/wx.h" 00006 00007 class wxVtkClipping3DViewCntrlPanel: public wxPanel 00008 { 00009 public: 00010 wxVtkClipping3DViewCntrlPanel(wxWindow *parent, wxVtkClipping3DView *_wxvtkclipping3Dview); 00011 ~wxVtkClipping3DViewCntrlPanel(); 00012 void OnSurface(wxCommandEvent& event); 00013 void OnRepresentationSurfaceWireFrame(wxCommandEvent& event); 00014 void OnVisibleVolume(wxCommandEvent& event); 00015 void OnVisibleBoxSurface(wxCommandEvent& event); 00016 void OnVisibleBoxVolume(wxCommandEvent& event); 00017 void OnColor(wxCommandEvent& event); 00018 void OnVisibleSurface(wxCommandEvent& event); 00019 void OnOpacity(wxScrollEvent& event); 00020 void OnIsoValue(wxScrollEvent& event); 00021 void OnIsoValueSpin(wxScrollEvent& event); 00022 virtual void Refresh(); 00023 void OnBtnCreateFileSTL(wxCommandEvent& event); 00024 void OnBtnSaveRawVolume(wxCommandEvent& event); 00025 void OnBtnVolumeFunctions(wxCommandEvent& event); 00026 void OnBtnMeshVTKLoad(wxCommandEvent& event); 00027 00028 00029 private: 00030 wxVtkClipping3DView *_wxvtkclipping3Dview; 00031 wxSlider *_opacity; 00032 wxSlider *_isoValue; 00033 wxSlider *_isoValueSpin; 00034 wxRadioButton *_surfA; 00035 wxRadioButton *_surfB; 00036 wxRadioButton *_surfC; 00037 wxRadioButton *_surfD; 00038 wxCheckBox *_visible; 00039 wxButton *_color; 00040 00041 wxRadioButton *_wireFrameRep; 00042 wxRadioButton *_surfaceRep; 00043 00044 int GetIdTissue(); 00045 protected: 00046 00047 }; 00048 00049 #endif /*WXVTKCLIPPING3DVIEWCNTRLPANEL_H_*/