X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FBase%2FAlgorithm.hxx;h=30f42b7008e29eb45cd98bcd17bfb78afc36da3e;hb=6585142e69f2ff5e4fceb21320ab3795c3e82218;hp=4ad828c773dbae60c5ec2c90b796649e094079c1;hpb=91510d06bf1895f684f9f2f6508ab7d97154576d;p=FrontAlgorithms.git diff --git a/lib/fpa/Base/Algorithm.hxx b/lib/fpa/Base/Algorithm.hxx index 4ad828c..30f42b7 100644 --- a/lib/fpa/Base/Algorithm.hxx +++ b/lib/fpa/Base/Algorithm.hxx @@ -95,13 +95,23 @@ GenerateData( ) this->_InitResults( this->m_InitResult ); // Main loop - this->_Loop( ); + do + this->_Loop( ); + while( this->_ContinueGenerateData( ) ); } // fi this->_AfterGenerateData( ); this->InvokeEvent( TEndEvent( ) ); } +// ------------------------------------------------------------------------- +template < class _TFilter, class _TVertex, class _TOutput > +bool fpa::Base::Algorithm< _TFilter, _TVertex, _TOutput >:: +_ContinueGenerateData( ) +{ + return( false ); +} + // ------------------------------------------------------------------------- template < class _TFilter, class _TVertex, class _TOutput > void fpa::Base::Algorithm< _TFilter, _TVertex, _TOutput >::