#ifndef __FPAPLUGINS__GROWFUNCTION__HXX__ #define __FPAPLUGINS__GROWFUNCTION__HXX__ #include // ------------------------------------------------------------------------- template< class F > void fpaPlugins::GrowFunction:: SetITK( itk::Object* object ) { typedef typename F::TSpace _TSpace; typedef typename F::TVertex _TVertex; typedef itk::FunctionBase< _TVertex, bool > _TBaseFunction; _TBaseFunction* function = dynamic_cast< _TBaseFunction* >( object ); if( function != NULL ) { this->m_ITKObject = function; this->m_VTKObject = NULL; this->Modified( ); } // fi } #endif // __FPAPLUGINS__GROWFUNCTION__HXX__ // eof - $RCSfile$