]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Filters/Image/LabelsSeedInterface.h
04b462ae35161e251da4539ab3b5c755eb1348f8
[FrontAlgorithms.git] / lib / fpa / Filters / Image / LabelsSeedInterface.h
1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
5 #ifndef __fpa__Filters__Image__LabelsSeedInterface__h__
6 #define __fpa__Filters__Image__LabelsSeedInterface__h__
7
8 namespace fpa
9 {
10   namespace Filters
11   {
12     namespace Image
13     {
14       /**
15        */
16       template< class _TTraits >
17       class LabelsSeedInterface
18       {
19       public:
20         typedef LabelsSeedInterface Self;
21         typedef _TTraits            TTraits;
22         fpaInternalTraitsMacro( typename, TTraits );
23
24       public:
25         LabelsSeedInterface( itk::ProcessObject* f )
26           : m_Filter( f )
27           {
28           }
29
30         virtual ~LabelsSeedInterface( )
31           {
32           }
33
34         const TNodes& GetSeeds( ) const
35           {
36             return( this->m_UnifiedSeeds );
37           }
38
39       protected:
40         virtual void _PrepareSeeds( const itk::DataObject* input ) = 0;
41
42       protected:
43         TNodes m_UnifiedSeeds;
44         itk::ProcessObject::Pointer m_Filter;
45       };
46
47     } // ecapseman
48
49   } // ecapseman
50
51 } // ecapseman
52
53 #endif // __fpa__Filters__Image__LabelsSeedInterface__h__
54 // eof - $RCSfile$