#ifndef __FPA__BASE__FUNCTORS__TAUTOLOGYFUNCTION__H__ #define __FPA__BASE__FUNCTORS__TAUTOLOGYFUNCTION__H__ #include namespace fpa { namespace Base { namespace Functors { /** */ template< class V > class TautologyFunction : public itk::FunctionBase< V, bool > { public: typedef TautologyFunction Self; typedef itk::FunctionBase< V, bool > Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( TautologyFunction, itkFunctionBase ); public: virtual bool Evaluate( const V& input ) const { return( true ); } protected: TautologyFunction( ) : Superclass( ) { } virtual ~TautologyFunction( ) { } private: // Purposely not implemented TautologyFunction( const Self& ); void operator=( const Self& ); }; } // ecapseman } // ecapseman } // ecapseman #endif // __FPA__BASE__FUNCTORS__TAUTOLOGYFUNCTION__H__ // eof - $RCSfile$