]> Creatis software - cpPlugins.git/blob - lib/ivq/ITK/RegionOfInterestWithPaddingImageFilter.h
4828d8ffa9010a2adcff8966dfd464ef61cc8f40
[cpPlugins.git] / lib / ivq / ITK / RegionOfInterestWithPaddingImageFilter.h
1 /* =======================================================================
2  * @author: Leonardo Florez-Valencia
3  * @email: florez-l@javeriana.edu.co
4  * =======================================================================
5  */
6 #ifndef __ivq__ITK__RegionOfInterestWithPaddingImageFilter__h__
7 #define __ivq__ITK__RegionOfInterestWithPaddingImageFilter__h__
8
9 #include <itkRegionOfInterestImageFilter.h>
10
11 namespace ivq
12 {
13   namespace ITK
14   {
15     /**
16      */
17     template< class _TInput, class _TOutput >
18     class RegionOfInterestWithPaddingImageFilter
19       : public itk::RegionOfInterestImageFilter< _TInput, _TOutput >
20     {
21     public:
22       // Basic types
23       typedef itk::RegionOfInterestImageFilter< _TInput, _TOutput > Superclass;
24       typedef RegionOfInterestWithPaddingImageFilter Self;
25       typedef itk::SmartPointer< Self >              Pointer;
26       typedef itk::SmartPointer< const Self >        ConstPointer;
27
28     public:
29       itkNewMacro( Self );
30       itkTypeMacro(
31         ivq::ITK::RegionOfInterestWithPaddingImageFilter,
32         itk::RegionOfInterestImageFilter
33         );
34
35       itkGetConstMacro( Padding, unsigned int );
36       itkSetMacro( Padding, unsigned int );
37
38     protected:
39       RegionOfInterestWithPaddingImageFilter( );
40       virtual ~RegionOfInterestWithPaddingImageFilter( );
41
42       virtual void GenerateOutputInformation( ) override;
43
44     private:
45       // Purposely not implemented
46       RegionOfInterestWithPaddingImageFilter( const Self& );
47       void operator=( const Self& );
48
49     protected:
50       unsigned int m_Padding;
51     };
52
53   } // ecapseman
54
55 } // ecapseman
56
57 #ifndef ITK_MANUAL_INSTANTIATION
58 #  include <ivq/ITK/RegionOfInterestWithPaddingImageFilter.hxx>
59 #endif // ITK_MANUAL_INSTANTIATION
60 #endif // __ivq__ITK__RegionOfInterestWithPaddingImageFilter__h__
61
62 // eof - $RCSfile$