]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/RegionGrow.hxx
Mori is alivegit status!
[FrontAlgorithms.git] / lib / fpa / Base / RegionGrow.hxx
index b0beaf29db7e2fc38477df7a13f95474ec5b5bcb..e7dba1fa3fbb6a7453846a2e00507352d5dec9d9 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __fpa__Base__RegionGrow__hxx__
 #define __fpa__Base__RegionGrow__hxx__
 
+#include <fpa/Base/Functors/RegionGrow/Tautology.h>
+
 // -------------------------------------------------------------------------
 template< class _TSuperclass >
 fpa::Base::RegionGrow< _TSuperclass >::
@@ -10,6 +12,9 @@ RegionGrow( )
     m_OutsideValue( TOutput( 0 ) )
 {
   this->m_InitResult = TOutput( 0 );
+  this->SetGrowFunction(
+    fpa::Base::Functors::RegionGrow::Tautology< TVertex >::New( )
+    );
 }
 
 // -------------------------------------------------------------------------