]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h
Feature #1606 Add a new entry to ColorLayerImageView to select the fitting mode betwe...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / LayerImageBase.h
index 29c8940233ff29b8b1f23d592c12017025d4e21f..f297a4b628da1bd08a3bbbe0c61a177f4298e425 100644 (file)
@@ -1,6 +1,3 @@
-
-
-
 /**
  *  \file
  *  \brief Class ThresholdImageView .
 #include <vtkImageData.h>
 #include "wxVtkBaseView.h"
 
+#include "InteractorStyleMaracas.h"
+
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+class LayerImageBase;
+
+class ColorLayerImageBasevtkInteractor : public InteractorStyleMaracas {
+public:
+       ColorLayerImageBasevtkInteractor(LayerImageBase* layerImageBase);
+       virtual ~ColorLayerImageBasevtkInteractor();
+
+       virtual bool  OnMouseMove();
+
+private:
+    LayerImageBase* _layerImageBase;
+
+protected:
+
+};
+
+
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+//----------------------------------------------------------------------------------
+
+
+
 class LayerImageBase
   {
   public:
@@ -36,11 +61,14 @@ class LayerImageBase
                void onThresholdChangeOpacity (int opacity);
                void onThresholdRemove();
                wxVtkBaseView *GetwxVtkBaseView();
-        void Refresh();
+               void Refresh();
+               vtkLookupTable *GetvtkLookupTable();
+               vtkImageReslice *GetvtkImageReslice();
+               virtual int GetZ();
 
   private:
-               int                                     _Z;
-               bool                            _actorPresent;
+               int                     _Z;
+               bool                    _actorPresent;
                vtkImageData            *_image;
                vtkImageReslice         *_imageReslicer;
                vtkLookupTable          *_thresholdTable;
@@ -54,7 +82,6 @@ class LayerImageBase
 
 
   protected:
-               virtual int GetZ();
                vtkLookupTable* GetThresholdTable();
                vtkImageData* GetImage();
  };