]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Interaction/SphereWidget.h
sphere widget update
[cpPlugins.git] / lib / cpExtensions / Interaction / SphereWidget.h
index 11ce916c814bc236c29c3345b67b0fe8b0ff4e04..b1a11bdf485c4dfbd629780f2282e8318f1c8976 100644 (file)
@@ -26,7 +26,7 @@ namespace cpExtensions
       static Self* New( );
 
       virtual void SetInteractor( vtkRenderWindowInteractor* rwi );
-
+      void SetCenter(double* center);
       
 
     protected:
@@ -41,8 +41,15 @@ namespace cpExtensions
         void* data, const TBaseStyle::ButtonID& button,
         int* idx, double* pos, bool alt, bool ctr, bool sft
         );
+      static void _MouseMove(
+        void* data, const TBaseStyle::ButtonID& button,
+        int* idx, double* pos, bool alt, bool ctr, bool sft
+        );
+     
       static void _KeyPress(void* data, const char& key);
        
+      static void SetCenter(void* data, double* center);
+
     private:
       // Purposely not implemented
       SphereWidget( const Self& );