]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/include/wxEmptyPanelWidget.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / include / wxEmptyPanelWidget.h
1
2
3 #ifndef EMPTY_PANEL_WIDGET_H
4 #define EMPTY_PANEL_WIDGET_H
5
6
7
8 #include <vtkActor.h>
9 #include <vtkMarchingCubes.h>
10 #include <vtkPolyDataMapper.h>
11 #include <vtkImageData.h>
12
13
14
15 #include "wxVtkBaseView.h"
16 #include "wxVTKRenderWindowInteractor.h"
17 #include <kernel/axisExtractor02.h>
18
19 #include <wx/wx.h>
20 #include <wx/panel.h>
21
22 //------------------------------------------------------------------
23 //------------------------------------------------------------------
24 //------------------------------------------------------------------
25
26 class wxEmptyPanelWidget: public wxPanel{
27 public:
28         wxEmptyPanelWidget(wxWindow *parent);
29         ~wxEmptyPanelWidget();
30         void ConfigureVTK(vtkImageData *imagedata, int x, int y, int z);
31         void Refresh();
32         void OnOpacity1(wxScrollEvent& event); // Original Volume
33         void OnOpacity2(wxScrollEvent& event); // Result Volume
34         void OnIsoValue(wxScrollEvent& event);
35 private:
36
37         // Original Volume
38         vtkMarchingCubes        *_mCubes;
39         vtkPolyDataMapper       *_surfMapper;
40         vtkActor                        *_surfActor;
41
42         // Result volume + Axis
43         axisExtractor02         *_prgov;
44         vtkPolyDataMapper       *_mapfinal;
45         vtkActor                        *_stripfinal;
46         vtkPolyDataMapper       *_isoMapperMC6;
47         vtkActor                        *_isoActorMC6;
48         vtkMarchingCubes        *_isoMC6;
49
50
51         wxSlider                        *_opacity1;
52         wxSlider                        *_opacity2;
53         wxSlider                        *_isoValue;
54         wxVtk3DBaseView         *_imageviewer3D;
55         wxPanel                         *CreateControlPanel(wxWindow *parent);
56         wxPanel                         *CreateViewPanel(wxWindow *parent);
57 };
58
59 #endif // EMPTY_PANEL_WIDGET_H
60
61
62
63