]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasMultipleVolumeRendererPanel.h
Diego Caceres: creaButtonContainer and creaPanelButtonContainer has been added to...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracasMultipleVolumeRendererPanel.h
1 #ifndef wxMaracasMultipleVolumeRendererPanel_H_
2 #define wxMaracasMultipleVolumeRendererPanel_H_
3
4 #include <wx/wx.h>
5 #include "HistogramDialogComboBox.h"
6
7 class wxMaracasMultipleVolumeRendererPanel : public wxPanel{
8         
9 public:
10         wxMaracasMultipleVolumeRendererPanel(wxWindow* parent, int propid, vtkImageData* img, bool _isComplexBox);
11         ~wxMaracasMultipleVolumeRendererPanel();
12         void createControls(vtkImageData* img); 
13         void onCheckBoxChange(wxCommandEvent& event);
14         void onColorChange(wxCommandEvent& event);
15         void onOK(wxCommandEvent& event);
16         void onCancel(wxCommandEvent& event);
17         void onUpdate(wxCommandEvent& event);
18         void onViewImage(wxCommandEvent& event);
19         void onRadioBoxSelectFunction(wxCommandEvent& event);
20
21         void updateVolume();
22         int getPropId();
23         HistogramDialogComboBox* getMwxwidget();
24
25 private:
26         wxCheckBox* checkbox;
27         wxRadioBox* _radiobox;
28         wxBitmapButton* _viewimage;
29         
30         int _propid;
31
32         bool first;
33
34         HistogramDialogComboBox* mwxwidget;
35         //wxFrame* _frame;
36
37         //-- added for complex box --//
38         bool isComplexBox;
39 };
40
41 #endif /*wxMaracasMultipleVolumeRendererPanel_H_*/