X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FInteraction%2FSphereWidget.h;fp=lib%2FcpExtensions%2FInteraction%2FSphereWidget.h;h=b1a11bdf485c4dfbd629780f2282e8318f1c8976;hb=64ee1e8924a88841c1c943fef576860402e0777c;hp=11ce916c814bc236c29c3345b67b0fe8b0ff4e04;hpb=106a56bfe6a48067380089ffd61a518e40d77933;p=cpPlugins.git diff --git a/lib/cpExtensions/Interaction/SphereWidget.h b/lib/cpExtensions/Interaction/SphereWidget.h index 11ce916..b1a11bd 100644 --- a/lib/cpExtensions/Interaction/SphereWidget.h +++ b/lib/cpExtensions/Interaction/SphereWidget.h @@ -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& );