X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FInteraction%2FSphereWidget.h;h=9afae7c894be0b89f454a7efeef73b84d9f027cb;hb=28ab3376dc62aa38157d28a257a837ea9ff96c02;hp=b1a11bdf485c4dfbd629780f2282e8318f1c8976;hpb=d6f15d4cb764982e2b09060a9c0f38636891590c;p=cpPlugins.git diff --git a/lib/cpExtensions/Interaction/SphereWidget.h b/lib/cpExtensions/Interaction/SphereWidget.h index b1a11bd..9afae7c 100644 --- a/lib/cpExtensions/Interaction/SphereWidget.h +++ b/lib/cpExtensions/Interaction/SphereWidget.h @@ -27,8 +27,9 @@ namespace cpExtensions virtual void SetInteractor( vtkRenderWindowInteractor* rwi ); void SetCenter(double* center); - - + void SetAxis(int axis); + int GetAxis(); + double * GetPosition(); protected: SphereWidget( ); virtual ~SphereWidget( ); @@ -50,7 +51,12 @@ namespace cpExtensions static void SetCenter(void* data, double* center); + static void SetAxis(void* data, int axis); + static int GetAxis(void* data); + static double * GetPosition(void* data); private: + int m_axis; + // Purposely not implemented SphereWidget( const Self& ); Self& operator=( const Self& );