+ public:
+ virtual void Instantiate( itk::LightObject* filter ) = 0;
+
+ template< class _TFunctor >
+ _TFunctor* GetFunctor( )
+ {
+ return(
+ dynamic_cast< _TFunctor* >( this->m_Functor.GetPointer( ) )
+ );
+ }
+
+ template< class _TFunctor >
+ const _TFunctor* GetFunctor( ) const
+ {
+ return(
+ dynamic_cast< const _TFunctor* >( this->m_Functor.GetPointer( ) )
+ );
+ }
+