#ifndef __FPA__IMAGE__FUNCTORS__REGIONGROWALLBELONGSFUNCTION__H__ #define __FPA__IMAGE__FUNCTORS__REGIONGROWALLBELONGSFUNCTION__H__ #include namespace fpa { namespace Image { namespace Functors { /** */ template< class I > class RegionGrowAllBelongsFunction : public fpa::Image::Functors::ImageFunction< I, bool > { public: /// Type-related and pointers typedef RegionGrowAllBelongsFunction Self; typedef fpa::Image::Functors::ImageFunction< I, bool > Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; // Superclass' types typedef typename Superclass::TInputImage TInputImage; typedef typename Superclass::TOutputValue TOutputValue; typedef typename Superclass::TIndex TIndex; public: itkNewMacro( Self ); itkTypeMacro( RegionGrowAllBelongsFunction, itkImageFunction ); public: virtual TOutputValue Evaluate( const TIndex& idx ) const { return( true ); } protected: RegionGrowAllBelongsFunction( ) : Superclass( ) { } virtual ~RegionGrowAllBelongsFunction( ) { } private: // Purposely not implemented RegionGrowAllBelongsFunction( const Self& ); void operator=( const Self& ); }; } // ecapseman } // ecapseman } // ecapseman #endif // __FPA__IMAGE__FUNCTORS__REGIONGROWALLBELONGSFUNCTION__H__ // eof - $RCSfile$