]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ThresholdImageView.h
New cleaner neater option of ShowNPoints added :P JGRR
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ThresholdImageView.h
index 5ca77b56deb4ed2b1950dbf10786fd431b46e625..5a006d5300dfa24a1d73a91c02634dd336a6b1d8 100644 (file)
 #ifndef __ThresholdImageView_h__
 #define __ThresholdImageView_h__
 
-#include <vtkImageReslice.h>
-#include <vtkLookupTable.h>
-#include <vtkImageMapToColors.h>
-#include <vtkImageActor.h>
-#include <vtkImageData.h>
-#include "wxVtkBaseView.h"
+#include "LayerImageBase.h"
 
 
-
-class  ThresholdImageView 
+class  ThresholdImageView : public LayerImageBase
   {
   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);
-         wxVtkBaseView *GetwxVtkBaseView();
          void SetBaseColor(double r, double g, double b);
-         
-         void SetZ(int z);
          void SetminMaxValue(int min, int max);
          
   private:
-         int                                   _Z;
          double                                _baseColorR;
          double                                _baseColorG;
          double                                _baseColorB;
          double                                _minValue;
          double                                _maxValue;
-         bool                                  _actorPresent;
-         vtkImageData                  *_image;
-         vtkImageReslice               *_imageReslicer;
-         vtkLookupTable                *_thresholdTable;
-         vtkImageMapToColors   *_thresholdMapper;
-         vtkImageActor                 *_thresholdActor;
-         wxVtkBaseView                 *_baseView;
+
+               virtual void ConfigLookupTable();
+
   protected:
  };