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