X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=libs%2Ffpa%2FImage%2FAlgorithm.hxx;h=00077d3e5858f1f7675f7e65c0a07f8c49d0be87;hb=20916948d3878c722b73e7ee86df87ff2df9d0fe;hp=3c33e4e3ca90019e7ac77b58c1c8ae9b541948cc;hpb=1b83bb346b8416eab760148e7ec92eb8b4a9024c;p=FrontAlgorithms.git diff --git a/libs/fpa/Image/Algorithm.hxx b/libs/fpa/Image/Algorithm.hxx index 3c33e4e..00077d3 100644 --- a/libs/fpa/Image/Algorithm.hxx +++ b/libs/fpa/Image/Algorithm.hxx @@ -118,10 +118,13 @@ _GetMark( const TVertex& v ) const // ------------------------------------------------------------------------- template< class _TInputImage, class _TOutputImage > -void fpa::Image::Algorithm< _TInputImage, _TOutputImage >:: -_UpdateResult( const _TQueueNode& n ) +bool fpa::Image::Algorithm< _TInputImage, _TOutputImage >:: +_UpdateResult( _TQueueNode& n ) { + bool res = this->Superclass::_UpdateResult( n ); + std::cout << n.Vertex << " " << n.Result << std::endl; this->GetOutput( )->SetPixel( n.Vertex, n.Result ); + return( res ); } // -------------------------------------------------------------------------