]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Base/Functors/RegionGrow/Base.h
Mori is alivegit status!
[FrontAlgorithms.git] / lib / fpa / Base / Functors / RegionGrow / Base.h
1 #ifndef __fpa__Base__Functors__RegionGrow__Base__h__
2 #define __fpa__Base__Functors__RegionGrow__Base__h__
3
4 #include <itkObject.h>
5 #include <itkObjectFactory.h>
6
7 namespace fpa
8 {
9   namespace Base
10   {
11     namespace Functors
12     {
13       namespace RegionGrow
14       {
15         /**
16          */
17         template< class _TVertex >
18         class Base
19           : public itk::Object
20         {
21         public:
22           typedef Base                            Self;
23           typedef itk::Object                     Superclass;
24           typedef itk::SmartPointer< Self >       Pointer;
25           typedef itk::SmartPointer< const Self > ConstPointer;
26
27           typedef _TVertex TVertex;
28
29         public:
30           itkTypeMacro( Base, itk::Object );
31
32         public:
33           virtual bool Evaluate(
34             const TVertex& a, const TVertex& b
35             ) const = 0;
36
37         protected:
38           Base( )
39             : Superclass( )
40             { }
41           virtual ~Base( )
42             { }
43
44         private:
45           // Purposely not defined
46           Base( const Self& other );
47           Self& operator=( const Self& other );
48         };
49
50       } // ecapseman
51
52     } // ecapseman
53
54   } // ecapseman
55
56 } // ecapseman
57
58 #endif // __fpa__Base__Functors__RegionGrow__Base__h__
59
60 // eof - $RCSfile$