1 #ifndef __fpa__Image__Functors__Base__h__
2 #define __fpa__Image__Functors__Base__h__
4 #include <fpa/Config.h>
5 #include <itkFunctionBase.h>
15 template< class _TImage, class _TSuperclass >
21 typedef _TSuperclass Superclass;
22 typedef itk::SmartPointer< Self > Pointer;
23 typedef itk::SmartPointer< const Self > ConstPointer;
25 typedef _TImage TImage;
26 typedef itk::ImageBase< TImage::ImageDimension > TImageBase;
29 itkTypeMacro( Base, itk::FunctionBase );
31 itkGetConstObjectMacro( Image, TImageBase );
32 itkSetConstObjectMacro( Image, TImageBase );
35 Base( ) : Superclass( ) { }
39 // Purposely not implemented
40 Base( const Self& other );
41 Self& operator=( const Self& other );
44 typename TImageBase::ConstPointer m_Image;
53 #endif // __fpa__Image__Functors__Base__h__