1 #ifndef __fpa__Image__Functors__Base__h__
2 #define __fpa__Image__Functors__Base__h__
4 #include <fpa/Config.h>
5 #include <itkFunctionBase.h>
6 #include <itkImageBase.h>
16 template< class _TImage, class _TSuperclass >
22 typedef _TSuperclass Superclass;
23 typedef itk::SmartPointer< Self > Pointer;
24 typedef itk::SmartPointer< const Self > ConstPointer;
26 typedef _TImage TImage;
27 typedef itk::ImageBase< TImage::ImageDimension > TImageBase;
30 itkTypeMacro( Base, itk::FunctionBase );
32 itkGetConstObjectMacro( Image, TImageBase );
33 itkSetConstObjectMacro( Image, TImageBase );
36 Base( ) : Superclass( ) { }
40 // Purposely not implemented
41 Base( const Self& other );
42 Self& operator=( const Self& other );
45 typename TImageBase::ConstPointer m_Image;
54 #endif // __fpa__Image__Functors__Base__h__