X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FAlgorithm.hxx;h=2eda502c0236bdf6fff65d43227f57d87cbae5ae;hb=8fafb83c41ab35dfc25eb637170882a612924433;hp=5e8605dcdd04f117c077169a3852a457f5e87945;hpb=1aff59e7c480d7448c63694da6f30e3dfb022edf;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/Algorithm.hxx b/lib/fpa/Image/Algorithm.hxx index 5e8605d..2eda502 100644 --- a/lib/fpa/Image/Algorithm.hxx +++ b/lib/fpa/Image/Algorithm.hxx @@ -29,15 +29,6 @@ _BeforeGenerateData( ) this->AllocateOutputs( ); } -// ------------------------------------------------------------------------- -template< class I, class O, class A > -void fpa::Image::Algorithm< I, O, A >:: -_AfterGenerateData( ) -{ - this->Superclass::_AfterGenerateData( ); - this->GetMinimumSpanningTree( )->SetCollisions( this->m_Collisions ); -} - // ------------------------------------------------------------------------- template< class I, class O, class A > unsigned long fpa::Image::Algorithm< I, O, A >:: @@ -145,8 +136,8 @@ template< class I, class O, class A > void fpa::Image::Algorithm< I, O, A >:: _SetResult( const TVertex& v, const _TNode& n ) { + this->Superclass::_SetResult( v, n ); this->GetOutput( )->SetPixel( v, n.Result ); - this->GetMinimumSpanningTree( )->SetParent( v, n.Parent, n.FrontId ); } #endif // __FPA__IMAGE__ALGORITHM__HXX__