6 * \brief Class ThresholdImageView .
10 * \class ThresholdImageView
14 #ifndef __LayerImageBase_h__
15 #define __LayerImageBase_h__
17 #include <vtkImageReslice.h>
18 #include <vtkLookupTable.h>
19 #include <vtkImageMapToColors.h>
20 #include <vtkImageActor.h>
21 #include <vtkImageData.h>
22 #include "wxVtkBaseView.h"
30 void SetImage(vtkImageData* image);
31 void SetwxVtkBaseView(wxVtkBaseView *baseview);
34 void onThresholdChange();
35 void onThresholdInterpolation(bool interpolate);
36 void onThresholdChangeOpacity (int opacity);
37 void onThresholdRemove();
38 wxVtkBaseView *GetwxVtkBaseView();
44 vtkImageReslice *_imageReslicer;
45 vtkLookupTable *_thresholdTable;
46 vtkImageMapToColors *_thresholdMapper;
47 vtkImageActor *_thresholdActor;
48 wxVtkBaseView *_baseView;
50 virtual void ConfigLookupTable() = 0;
51 bool GetActorPresent();
57 vtkLookupTable* GetThresholdTable();
58 vtkImageData* GetImage();
63 #endif // __LayerImageBase_h__