]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Image/MoriRegionGrow.h
57085825705893cf0cfd7c710d157d888a9b518a
[FrontAlgorithms.git] / lib / fpa / Image / MoriRegionGrow.h
1 #ifndef __fpa__Image__MoriRegionGrow__h__
2 #define __fpa__Image__MoriRegionGrow__h__
3
4 #include <fpa/Base/MoriRegionGrow.h>
5 #include <fpa/Image/Algorithm.h>
6
7 namespace fpa
8 {
9   namespace Image
10   {
11     /**
12      */
13     template< class _TInputImage, class _TOutputImage >
14     class MoriRegionGrow
15       : public fpa::Base::MoriRegionGrow< fpa::Image::Algorithm< _TInputImage, _TOutputImage > >
16     {
17     public:
18       typedef fpa::Image::Algorithm< _TInputImage, _TOutputImage > TAlgorithm;
19       typedef MoriRegionGrow                          Self;
20       typedef fpa::Base::MoriRegionGrow< TAlgorithm > Superclass;
21       typedef itk::SmartPointer< Self >           Pointer;
22       typedef itk::SmartPointer< const Self >     ConstPointer;
23
24       typedef typename Superclass::TOutput TOutput;
25       typedef typename Superclass::TVertex TVertex;
26
27       typedef fpa::Image::Functors::Base< _TInputImage, typename Superclass::TGrowFunction > TGrowFunction;
28
29     public:
30       itkNewMacro( Self );
31       itkTypeMacro( fpa::Image::MoriRegionGrow, fpa::Base::MoriRegionGrow );
32
33     protected:
34       MoriRegionGrow( );
35       virtual ~MoriRegionGrow( );
36
37       virtual void _BeforeGenerateData( ) fpa_OVERRIDE;
38
39     private:
40       // Purposely not defined
41       MoriRegionGrow( const Self& other );
42       Self& operator=( const Self& other );
43     };
44
45   } // ecapseman
46
47 } // ecapseman
48
49 #ifndef ITK_MANUAL_INSTANTIATION
50 #  include <fpa/Image/MoriRegionGrow.hxx>
51 #endif // ITK_MANUAL_INSTANTIATION
52
53 #endif // __fpa__Image__MoriRegionGrow__h__
54
55 // eof - $RCSfile$