]> Creatis software - cpPlugins.git/blob - lib/cpExtensions/Visualization/SeedWidgetCorrector.h
541d60c74237de1636518884a289c51238789553
[cpPlugins.git] / lib / cpExtensions / Visualization / SeedWidgetCorrector.h
1 #ifndef __CPEXTENSIONS__VISUALIZATION__SEEDWIDGETCORRECTOR__H__
2 #define __CPEXTENSIONS__VISUALIZATION__SEEDWIDGETCORRECTOR__H__
3
4 #include <cpExtensions/cpExtensions_Export.h>
5
6 #include <vtkCommand.h>
7
8 class vtkCellPicker;
9 class vtkSeedWidget;
10
11 namespace cpExtensions
12 {
13   namespace Visualization
14   {
15     /**
16      */
17     class cpExtensions_EXPORT SeedWidgetCorrector
18       : public vtkCommand
19     {
20     public:
21       static SeedWidgetCorrector* New( );
22
23       void Configure( vtkCellPicker* picker );
24
25       virtual void Execute(
26         vtkObject* caller,
27         unsigned long eventId,
28         void* arguments
29         );
30
31     protected:
32       SeedWidgetCorrector( );
33       virtual ~SeedWidgetCorrector( );
34
35     protected:
36       vtkCellPicker* m_Picker;
37     };
38
39   } // ecapseman
40
41 } // ecapseman
42
43 #endif // __CPEXTENSIONS__VISUALIZATION__SEEDWIDGETCORRECTOR__H__
44
45 // eof - $RCSfile$