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