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