]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/Algorithm.hxx
Mori is alivegit status!
[FrontAlgorithms.git] / lib / fpa / Base / Algorithm.hxx
index 4ad828c773dbae60c5ec2c90b796649e094079c1..30f42b7008e29eb45cd98bcd17bfb78afc36da3e 100644 (file)
@@ -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 >::