]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h
New cleaner neater option of ShowNPoints added :P JGRR
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / LayerImageBase.h
index 29c8940233ff29b8b1f23d592c12017025d4e21f..5beffe7be8723c47013cc97fa9f9df165f63929d 100644 (file)
 #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:
@@ -37,6 +65,9 @@ class LayerImageBase
                void onThresholdRemove();
                wxVtkBaseView *GetwxVtkBaseView();
         void Refresh();
+        vtkLookupTable *GetvtkLookupTable();
+        vtkImageReslice *GetvtkImageReslice();
+               virtual int GetZ();
 
   private:
                int                                     _Z;
@@ -54,7 +85,6 @@ class LayerImageBase
 
 
   protected:
-               virtual int GetZ();
                vtkLookupTable* GetThresholdTable();
                vtkImageData* GetImage();
  };