]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasMultipleVolumeRendererPanel.h
7cb56a60b377d2cd8b7e653145b33aa54dd621f0
[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 #include "wxMaracasRenderImageManagementPanel.h"
7
8 class wxMaracasMultipleVolumeRendererPanel : public wxPanel{
9         
10 public:
11         wxMaracasMultipleVolumeRendererPanel(wxWindow* parent, int propid, vtkImageData* img, bool _isComplexBox);
12         ~wxMaracasMultipleVolumeRendererPanel();
13         void createControls(vtkImageData* img); 
14         void onCheckBoxChange(wxCommandEvent& event);
15         void onColorChange(wxCommandEvent& event);
16         void onOK(wxCommandEvent& event);
17         void onCancel(wxCommandEvent& event);
18         void onUpdate(wxCommandEvent& event);
19         void onViewImage(wxCommandEvent& event);
20         void onOpenParameters(wxCommandEvent& event);
21
22         void updateVolume();
23         int getPropId();
24         HistogramDialogComboBox* getMwxwidget();
25
26 private:
27         wxCheckBox* checkbox;
28         wxBitmapButton* _viewimage;
29         
30         int _propid;
31
32         bool first;
33
34         HistogramDialogComboBox* mwxwidget;
35         wxMaracasRenderImageManagementPanel* dialog;
36         //wxFrame* _frame;
37
38         //-- added for complex box --//
39         bool isComplexBox;
40 };
41
42 #endif /*wxMaracasMultipleVolumeRendererPanel_H_*/