1 #ifndef IMAGEPLANEWIDGET_H
2 #define IMAGEPLANEWIDGET_H
5 #include "vtkRenderWindow.h"
6 #include "vtkRendererCollection.h"
7 #include "vtkImagePlaneWidget.h"
8 #include "vtkImageData.h"
9 #include "vtkColorTransferFunction.h"
11 class ImagePlaneWidget
16 virtual void setImage(vtkImageData* img);
18 virtual void SetLookupTable(vtkLookupTable *lookuptable);
20 virtual void SetColorTable(vtkColorTransferFunction *lookuptable);
22 virtual void showPlanes(bool show);
24 void initialize(vtkRenderWindowInteractor* interactor);
28 vtkImagePlaneWidget* _xwidget;
29 vtkImagePlaneWidget* _ywidget;
30 vtkImagePlaneWidget* _zwidget;
35 #endif // IMAGEPLANEWIDGET_H