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