]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Interaction/ImageInteractorStyle.h
More widgets added
[cpPlugins.git] / lib / cpExtensions / Interaction / ImageInteractorStyle.h
similarity index 71%
rename from lib/cpExtensions/Visualization/ImageInteractorStyle.h
rename to lib/cpExtensions/Interaction/ImageInteractorStyle.h
index 9048926cb8822f8ead5a697f51f9396a3ba18de7..78bf7da38a9952962cc891e0dd8c75d3b91444b7 100644 (file)
@@ -1,7 +1,7 @@
-#ifndef __CPEXTENSIONS__VISUALIZATION__IMAGEINTERACTORSTYLE__H__
-#define __CPEXTENSIONS__VISUALIZATION__IMAGEINTERACTORSTYLE__H__
+#ifndef __CPEXTENSIONS__INTERACTION__IMAGEINTERACTORSTYLE__H__
+#define __CPEXTENSIONS__INTERACTION__IMAGEINTERACTORSTYLE__H__
 
-#include <cpExtensions/Visualization/BaseInteractorStyle.h>
+#include <cpExtensions/Interaction/BaseInteractorStyle.h>
 
 #include <vector>
 
@@ -13,7 +13,7 @@ class vtkImageActor;
 
 namespace cpExtensions
 {
-  namespace Visualization
+  namespace Interaction
   {
     /**
      */
@@ -34,7 +34,7 @@ namespace cpExtensions
       ImageInteractorStyle( );
       virtual ~ImageInteractorStyle( );
 
-      virtual bool _PickPosition( double pos[ 3 ] );
+      virtual bool _PickPosition( int idx[ 2 ], double pos[ 3 ] );
 
     private:
       // Purposely not implemented
@@ -49,6 +49,6 @@ namespace cpExtensions
 
 } // ecapseman
 
-#endif // __CPEXTENSIONS__VISUALIZATION__IMAGEINTERACTORSTYLE__H__
+#endif // __CPEXTENSIONS__INTERACTION__IMAGEINTERACTORSTYLE__H__
 
 // eof - $RCSfile$