1 #ifndef __CPEXTENSIONS__INTERACTION__SEEDWIDGET__H__
2 #define __CPEXTENSIONS__INTERACTION__SEEDWIDGET__H__
4 #include <cpExtensions/cpExtensions_Export.h>
5 #include <cpExtensions/Interaction/BaseInteractorStyle.h>
6 #include <vtkSeedWidget.h>
14 class cpExtensions_EXPORT SeedWidget
15 : public vtkSeedWidget
18 typedef SeedWidget Self;
19 vtkTypeMacro( SeedWidget, vtkSeedWidget );
21 typedef cpExtensions::Interaction::BaseInteractorStyle TBaseStyle;
22 typedef TBaseStyle::TMouseCommand TMouseCommand;
27 virtual void SetInteractor( vtkRenderWindowInteractor* rwi );
31 virtual ~SeedWidget( );
34 void* data, const TBaseStyle::ButtonID& button,
35 int* idx, double* pos, bool alt, bool ctr, bool sft
37 static void _DoubleClick(
38 void* data, const TBaseStyle::ButtonID& button,
39 int* idx, double* pos, bool alt, bool ctr, bool sft
43 // Purposely not implemented
44 SeedWidget( const Self& );
45 Self& operator=( const Self& );
52 #endif // __CPEXTENSIONS__INTERACTION__SEEDWIDGET__H__