#ifndef __FPA__BASE__FUNCTORS__TAUTOLOGYFUNCTION__H__ #define __FPA__BASE__FUNCTORS__TAUTOLOGYFUNCTION__H__ #include namespace fpa { namespace Base { namespace Functors { /** */ template< class S, 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; typedef S TSpace; typedef V TVertex; public: itkNewMacro( Self ); itkTypeMacro( TautologyFunction, itkFunctionBase ); itkGetConstObjectMacro( Space, TSpace ); itkSetConstObjectMacro( Space, TSpace ); public: virtual bool Evaluate( const TVertex& input ) const ITK_OVERRIDE { return( true ); } protected: TautologyFunction( ) : Superclass( ) { } virtual ~TautologyFunction( ) { } private: // Purposely not implemented TautologyFunction( const Self& ); void operator=( const Self& ); protected: typename TSpace::ConstPointer m_Space; }; } // ecapseman } // ecapseman } // ecapseman #endif // __FPA__BASE__FUNCTORS__TAUTOLOGYFUNCTION__H__ // eof - $RCSfile$