3 #ifndef EMPTY_PANEL_WIDGET_H
4 #define EMPTY_PANEL_WIDGET_H
9 #include <vtkMarchingCubes.h>
10 #include <vtkPolyDataMapper.h>
11 #include <vtkImageData.h>
15 #include "wxVtkBaseView.h"
16 #include "wxVTKRenderWindowInteractor.h"
17 #include <kernel/axisExtractor02.h>
22 //------------------------------------------------------------------
23 //------------------------------------------------------------------
24 //------------------------------------------------------------------
26 class wxEmptyPanelWidget: public wxPanel{
28 wxEmptyPanelWidget(wxWindow *parent);
29 ~wxEmptyPanelWidget();
30 void ConfigureVTK(vtkImageData *imagedata, int x, int y, int z);
32 void OnOpacity1(wxScrollEvent& event); // Original Volume
33 void OnOpacity2(wxScrollEvent& event); // Result Volume
34 void OnIsoValue(wxScrollEvent& event);
38 vtkMarchingCubes *_mCubes;
39 vtkPolyDataMapper *_surfMapper;
42 // Result volume + Axis
43 axisExtractor02 *_prgov;
44 vtkPolyDataMapper *_mapfinal;
45 vtkActor *_stripfinal;
46 vtkPolyDataMapper *_isoMapperMC6;
47 vtkActor *_isoActorMC6;
48 vtkMarchingCubes *_isoMC6;
54 wxVtk3DBaseView *_imageviewer3D;
55 wxPanel *CreateControlPanel(wxWindow *parent);
56 wxPanel *CreateViewPanel(wxWindow *parent);
59 #endif // EMPTY_PANEL_WIDGET_H