1 #ifndef __FPA__BASE__FUNCTORS__INVERTCOST__H__
2 #define __FPA__BASE__FUNCTORS__INVERTCOST__H__
4 #include <fpa/Config.h>
5 #include <itkFunctionBase.h>
15 template< class _TResult >
17 : public itk::FunctionBase< _TResult, _TResult >
20 typedef InvertCost Self;
21 typedef itk::FunctionBase< _TResult, _TResult > Superclass;
22 typedef itk::SmartPointer< Self > Pointer;
23 typedef itk::SmartPointer< const Self > ConstPointer;
26 typedef _TResult TResult;
30 itkTypeMacro( InvertCost, Algorithm );
33 virtual _TResult Evaluate( const _TResult& x ) const fpa_OVERRIDE;
36 // Methods to extend itk-based architecture
38 virtual ~InvertCost( );
41 // Purposely not implemented
42 InvertCost( const Self& other );
43 Self& operator=( const Self& other );
52 #ifndef ITK_MANUAL_INSTANTIATION
53 # include <fpa/Base/Functors/InvertCost.hxx>
54 #endif // ITK_MANUAL_INSTANTIATION
56 #endif // __FPA__BASE__FUNCTORS__INVERTCOST__H__