1 #ifndef __fpa__Base__Functors__Inverse__h__
2 #define __fpa__Base__Functors__Inverse__h__
4 #include <fpa/Config.h>
5 #include <itkFunctionBase.h>
15 template< class _TInput, class _TOutput >
17 : public itk::FunctionBase< _TInput, _TOutput >
21 typedef itk::FunctionBase< _TInput, _TOutput > Superclass;
22 typedef itk::SmartPointer< Self > Pointer;
23 typedef itk::SmartPointer< const Self > ConstPointer;
25 typedef _TInput TInput;
26 typedef _TOutput TOutput;
30 itkTypeMacro( Inverse, itk::FunctionBase );
32 itkGetConstMacro( NegativeValue, _TOutput );
33 itkSetMacro( NegativeValue, _TOutput );
36 virtual TOutput Evaluate( const TInput& x ) const fpa_OVERRIDE;
43 // Purposely not implemented
44 Inverse( const Self& other );
45 Self& operator=( const Self& other );
48 _TOutput m_NegativeValue;
57 #ifndef ITK_MANUAL_INSTANTIATION
58 # include <fpa/Base/Functors/Inverse.hxx>
59 #endif // ITK_MANUAL_INSTANTIATION
61 #endif // __fpa__Base__Functors__Inverse__h__