X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2Fexample_BaseInteractorStyle.cxx;h=75366b7057bf639440d6a69ee66700766a3732f4;hb=ef8b6e12859181d3faa8019ce7319c539c0f86ec;hp=a8515d274f06035337cde916925d5bf9418aa3b8;hpb=5281fb1eda049dd4ca455ec658dd7c74ebc8581c;p=cpPlugins.git diff --git a/appli/examples/example_BaseInteractorStyle.cxx b/appli/examples/example_BaseInteractorStyle.cxx index a8515d2..75366b7 100644 --- a/appli/examples/example_BaseInteractorStyle.cxx +++ b/appli/examples/example_BaseInteractorStyle.cxx @@ -4,22 +4,22 @@ #include #include #include -#include +#include // ------------------------------------------------------------------------- #define example_BaseInteractorStyle_Macro( x ) \ - virtual void On##x( ) \ + virtual void On##x( ) \ { std::cout << "On" << #x << "( )" << std::endl; } // ------------------------------------------------------------------------- class example_BaseInteractorStyle - : public cpExtensions::Visualization::BaseInteractorStyle + : public cpExtensions::Interaction::BaseInteractorStyle { public: typedef example_BaseInteractorStyle Self; vtkTypeMacro( example_BaseInteractorStyle, - cpExtensions::Visualization::BaseInteractorStyle + cpExtensions::Interaction::BaseInteractorStyle ); public: @@ -59,7 +59,7 @@ protected: virtual ~example_BaseInteractorStyle( ) { } - virtual bool _PickPosition( double pos[ 3 ] ) + virtual bool _PickPosition( int idx[ 2 ], double pos[ 3 ] ) { return( true ); // Just testing... }