]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/Widgets/SeedWidget.h
...
[cpPlugins.git] / lib / cpPlugins / Plugins / Widgets / SeedWidget.h
1 #ifndef __CPPLUGINS__PLUGINS__SEEDWIDGET__H__
2 #define __CPPLUGINS__PLUGINS__SEEDWIDGET__H__
3
4 #include <cpPlugins/Widgets/cpPluginsWidgets_Export.h>
5 #include <cpPlugins/Interface/ProcessObject.h>
6
7 namespace cpPlugins
8 {
9   namespace Widgets
10   {
11     /**
12      */
13     class cpPluginsWidgets_EXPORT SeedWidget
14       : public cpPlugins::Interface::ProcessObject
15     {
16     public:
17       typedef SeedWidget                          Self;
18       typedef cpPlugins::Interface::ProcessObject Superclass;
19       typedef itk::SmartPointer< Self >           Pointer;
20       typedef itk::SmartPointer< const Self >     ConstPointer;
21
22     public:
23       itkNewMacro( Self );
24       itkTypeMacro( SeedWidget, cpPlugins::Interface::ProcessObject );
25       cpPlugins_Id_Macro( cpPlugins::Widgets::SeedWidget, Widgets );
26
27     public:
28       virtual itk::ModifiedTimeType GetMTime( ) const;
29
30     protected:
31       SeedWidget( );
32       virtual ~SeedWidget( );
33
34       virtual std::string _GenerateData( );
35
36       template< class I >
37         inline std::string _GD0( itk::DataObject* image );
38
39       template< class I >
40         inline std::string _GD1_Points( I* image );
41
42       template< class I >
43         inline std::string _GD1_Vertices( I* image );
44
45     private:
46       // Purposely not implemented
47       SeedWidget( const Self& );
48       Self& operator=( const Self& );
49
50     protected:
51       bool m_Configured;
52     };
53
54   } // ecapseman
55
56 } // ecapseman
57
58 #endif // __CPPLUGINS__PLUGINS__SEEDWIDGET__H__
59
60 // eof - $RCSfile$