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"
28 virtual ~LayerImageBase();
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();
45 vtkImageReslice *_imageReslicer;
46 vtkLookupTable *_thresholdTable;
47 vtkImageMapToColors *_thresholdMapper;
48 vtkImageActor *_thresholdActor;
49 wxVtkBaseView *_baseView;
51 virtual void ConfigLookupTable() = 0;
52 bool GetActorPresent();
58 vtkLookupTable* GetThresholdTable();
59 vtkImageData* GetImage();
64 #endif // __LayerImageBase_h__