// ========================================================================= // @author Leonardo Florez Valencia // @email florez-l@javeriana.edu.co // ========================================================================= #ifndef __fpa__Functors__RegionGrow__Tautology__h__ #define __fpa__Functors__RegionGrow__Tautology__h__ #include namespace fpa { namespace Functors { namespace RegionGrow { /** */ template< class _TValue > class Tautology : public itk::FunctionBase< _TValue, bool > { public: typedef _TValue TValue; typedef itk::FunctionBase< TValue, bool > Superclass; typedef Tautology Self; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( fpa::Functors::RegionGrow::Tautology, itk::FunctionBase ); public: virtual bool Evaluate( const TValue& v ) const override { return( true ); } protected: Tautology( ) : Superclass( ) { } virtual ~Tautology( ) { } private: // Purposely not implemented. Tautology( const Self& other ); Self& operator=( const Self& other ); }; } // ecapseman } // ecapseman } // ecapseman #endif // __fpa__Functors__RegionGrow__Tautology__h__ // eof - $RCSfile$