6 * \brief Class ThresholdImageView .
10 * \class ThresholdImageView
14 #ifndef __ThresholdImageView_h__
15 #define __ThresholdImageView_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"
26 class ThresholdImageView
29 ThresholdImageView( );
30 ~ThresholdImageView();
32 void onThresholdChange();
33 void onThresholdInterpolation(bool interpolate);
34 void onThresholdChangeOpacity (int opacity);
35 void onThresholdRemove();
37 void SetImage(vtkImageData* image);
38 void SetwxVtkBaseView(wxVtkBaseView *baseview);
39 wxVtkBaseView *GetwxVtkBaseView();
40 void SetBaseColor(double r, double g, double b);
43 void SetminMaxValue(int min, int max);
54 vtkImageReslice *_imageReslicer;
55 vtkLookupTable *_thresholdTable;
56 vtkImageMapToColors *_thresholdMapper;
57 vtkImageActor *_thresholdActor;
58 wxVtkBaseView *_baseView;