]> Creatis software - FrontAlgorithms.git/blob - plugins/fpa/GradientBaseImageFunctionSource.h
...
[FrontAlgorithms.git] / plugins / fpa / GradientBaseImageFunctionSource.h
1 #ifndef __FPAPLUGINS__GRADIENTBASEIMAGEFUNCTIONSOURCE__H__
2 #define __FPAPLUGINS__GRADIENTBASEIMAGEFUNCTIONSOURCE__H__
3
4 #include <fpa/fpaPlugins_Export.h>
5 #include <cpPlugins/ProcessObject.h>
6
7 namespace fpaPlugins
8 {
9   /**
10    */
11   class fpaPlugins_EXPORT GradientBaseImageFunctionSource
12     : public cpPlugins::ProcessObject
13   {
14   public:
15     typedef GradientBaseImageFunctionSource Self;
16     typedef cpPlugins::ProcessObject        Superclass;
17     typedef itk::SmartPointer< Self >       Pointer;
18     typedef itk::SmartPointer< const Self > ConstPointer;
19
20   public:
21     itkNewMacro( Self );
22     itkTypeMacro(
23       GradientBaseImageFunctionSource, cpPlugins::ProcessObject
24       );
25     cpPlugins_Id_Macro(
26       GradientBaseImageFunctionSource, fpaImageAlgorithmFunctors
27       );
28
29   protected:
30     GradientBaseImageFunctionSource( );
31     virtual ~GradientBaseImageFunctionSource( );
32
33     virtual void _GenerateData( ) ITK_OVERRIDE;
34
35     template< class _TImage >
36       inline void _GD0( _TImage* image );
37
38     template< class _TImage, class _TFunction >
39       inline void _GD1( _TImage* image );
40
41   private:
42     // Purposely not implemented.
43     GradientBaseImageFunctionSource( const Self& other );
44     Self& operator=( const Self& other );
45   };
46
47 } // ecapseman
48
49 #endif // __FPAPLUGINS__GRADIENTBASEIMAGEFUNCTIONSOURCE__H__
50
51 // eof - $RCSfile$