]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/Functors/Inverse.h
...
[FrontAlgorithms.git] / lib / fpa / Base / Functors / Inverse.h
index 0bd1a04fe5ecdd0fd352ead3033c946fe5396a2f..dc8c7a24fd43845586395c9fb20e2a4784e2d2ad 100644 (file)
@@ -29,6 +29,9 @@ namespace fpa
         itkNewMacro( Self );
         itkTypeMacro( Inverse, itk::FunctionBase );
 
+        itkGetConstMacro( NegativeValue, _TOutput );
+        itkSetMacro( NegativeValue, _TOutput );
+
       public:
         virtual TOutput Evaluate( const TInput& x ) const fpa_OVERRIDE;
 
@@ -40,6 +43,9 @@ namespace fpa
         // Purposely not implemented
         Inverse( const Self& other );
         Self& operator=( const Self& other );
+
+      protected:
+        _TOutput m_NegativeValue;
       };
 
     } // ecapseman