]> Creatis software - cpMesh.git/blob - lib/cpm/Plugins/SimpleFillRegion.h
Simple flood fill plugin added.
[cpMesh.git] / lib / cpm / Plugins / SimpleFillRegion.h
1 #ifndef __CPM__PLUGINS__SIMPLEFILLREGION__H__
2 #define __CPM__PLUGINS__SIMPLEFILLREGION__H__
3
4 #include <cpPlugins/Interface/ImageToImageFilter.h>
5
6 namespace cpm
7 {
8   namespace Plugins
9   {
10     /**
11      */
12     class SimpleFillRegion
13       : public cpPlugins::Interface::ImageToImageFilter
14     {
15     public:
16       typedef SimpleFillRegion                         Self;
17       typedef cpPlugins::Interface::ImageToImageFilter Superclass;
18
19       typedef Superclass::TParameter  TParameter;
20       typedef Superclass::TParameters TParameters;
21
22     public:
23       SimpleFillRegion( );
24       virtual ~SimpleFillRegion( );
25
26       virtual std::string GetClassName( ) const;
27
28     protected:
29       virtual std::string _GenerateData( );
30
31       template< unsigned int D >
32       std::string _GD0( );
33
34       template< class P1, unsigned int D >
35       std::string _GD1( );
36
37       template< class P1, class P2, unsigned int D >
38       std::string _GD2( );
39
40     protected:
41       itk::ProcessObject::Pointer m_Filter;
42     };
43
44     // ---------------------------------------------------------------------
45     PLUMA_INHERIT_PROVIDER( SimpleFillRegion, cpPlugins::Interface::Object );
46
47   } // ecapseman
48
49 } // ecapseman
50
51 #endif // __CPM__PLUGINS__SIMPLEFILLREGION__H__
52
53
54 // eof - $RCSfile$