]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Filters/Image/SeedsFromLabelsInterface.h
...
[FrontAlgorithms.git] / lib / fpa / Filters / Image / SeedsFromLabelsInterface.h
1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
5 #ifndef __fpa__Filters__Image__SeedsFromLabelsInterface__h__
6 #define __fpa__Filters__Image__SeedsFromLabelsInterface__h__
7
8 #include <fpa/Filters/BaseSeedsInterface.h>
9
10 namespace fpa
11 {
12   namespace Filters
13   {
14     namespace Image
15     {
16       /**
17        */
18       template< class _TTraits >
19       class SeedsFromLabelsInterface
20         : public fpa::Filters::BaseSeedsInterface< _TTraits >
21       {
22       public:
23         typedef fpa::Filters::BaseSeedsInterface< _TTraits > Superclass;
24         typedef SeedsFromLabelsInterface                       Self;
25         typedef _TTraits TTraits;
26         fpaTraitsMacro( typename TTraits );
27
28       protected:
29         SeedsFromLabelsInterface( itk::ProcessObject* f );
30         virtual ~SeedsFromLabelsInterface( );
31
32         // Filter related methods
33         virtual void _AssignOutputValue( const TNode& n ) = 0;
34
35         // Marks related methods
36         virtual void _Mark( const TNode& n ) = 0;
37
38         // Main method
39         virtual void _PrepareSeeds( const itk::DataObject* reference ) override;
40       };
41
42     } // ecapseman
43
44   } // ecapseman
45
46 } // ecapseman
47
48 #ifndef ITK_MANUAL_INSTANTIATION
49 #  include <fpa/Filters/Image/SeedsFromLabelsInterface.hxx>
50 #endif // ITK_MANUAL_INSTANTIATION
51 #endif // __fpa__Filters__Image__SeedsFromLabelsInterface__h__
52 // eof - $RCSfile$