// ========================================================================= // @author Leonardo Florez Valencia // @email florez-l@javeriana.edu.co // ========================================================================= #ifndef __fpa__Image__Functors__RegionGrow__Tautology__h__ #define __fpa__Image__Functors__RegionGrow__Tautology__h__ #include namespace fpa { namespace Image { namespace Functors { namespace RegionGrow { /** */ template< class _TPixel > class Tautology : public itk::FunctionBase< _TPixel, bool > { public: typedef _TPixel TPixel; typedef Tautology Self; typedef itk::FunctionBase< TPixel, bool > Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( fpa::Image::Functors::RegionGrow::Tautology, itk::FunctionBase ); public: virtual bool Evaluate( const TPixel& value ) 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 } // ecapseman #endif // __fpa__Image__Functors__RegionGrow__Tautology__h__ // eof - $RCSfile$