--- /dev/null
+
+
+
+/**
+ * \file
+ * \brief Class ThresholdImageView .
+ */
+
+/**
+ * \class ThresholdImageView
+ * \brief
+ */
+
+#ifndef __ThresholdImageView_h__
+#define __ThresholdImageView_h__
+
+#include <vtkImageReslice.h>
+#include <vtkLookupTable.h>
+#include <vtkImageMapToColors.h>
+#include <vtkImageActor.h>
+#include <vtkImageData.h>
+#include "wxVtkBaseView.h"
+
+
+
+class ThresholdImageView
+ {
+ public:
+ ThresholdImageView( );
+ ~ThresholdImageView();
+ void onThreshold();
+ void onThresholdChange();
+ void onThresholdInterpolation(bool interpolate);
+ void onThresholdChangeOpacity (int opacity);
+ void onThresholdRemove();
+
+ void SetImage(vtkImageData* image);
+ void SetwxVtkBaseView(wxVtkBaseView *baseview);
+
+ void SetZ(int z);
+ void SetminMax(int min, int max);
+
+ private:
+ int _Z;
+ double _min;
+ double _max;
+ bool _actorPresent;
+ vtkImageData *_image;
+ vtkImageReslice *_imageReslicer;
+ vtkLookupTable *_thresholdTable;
+ vtkImageMapToColors *_thresholdMapper;
+ vtkImageActor *_thresholdActor;
+ wxVtkBaseView *_baseView;
+ protected:
+ };
+
+#endif
+