]> Creatis software - FrontAlgorithms.git/blobdiff - plugins/DijkstraFunctors/SimpleImageDijkstraCost.cxx
...
[FrontAlgorithms.git] / plugins / DijkstraFunctors / SimpleImageDijkstraCost.cxx
index e19327a9d88951361cefd527c3c345fb0cb9a73d..a053e86b22699175f0c308cfc86414a5f5066b02 100644 (file)
@@ -2,7 +2,8 @@
 #include <cpInstances/DataObjects/Image.h>
 
 #include <itkImage.h>
-#include <fpa/Image/Functors/SimpleDijkstraCost.h>
+
+// TODO: #include <fpa/Image/Functors/SimpleDijkstraCost.h>
 
 // -------------------------------------------------------------------------
 fpaPluginsDijkstraFunctors::SimpleImageDijkstraCost::
@@ -53,19 +54,21 @@ template< class _TImage, class _TOutput >
 void fpaPluginsDijkstraFunctors::SimpleImageDijkstraCost::
 _GD1( _TImage* image )
 {
-  typedef
-    fpa::Image::Functors::SimpleDijkstraCost< _TImage, _TOutput >
-    _TFunctor;
-  auto out = this->GetOutput( "Output" );
-  auto f = out->GetITK< _TFunctor >( );
-  if( f == NULL )
-  {
-    typename _TFunctor::Pointer ptr_f = _TFunctor::New( );
-    f = ptr_f.GetPointer( );
-    out->SetITK( f );
+  /* TODO
+     typedef
+     fpa::Image::Functors::SimpleDijkstraCost< _TImage, _TOutput >
+     _TFunctor;
+     auto out = this->GetOutput( "Output" );
+     auto f = out->GetITK< _TFunctor >( );
+     if( f == NULL )
+     {
+     typename _TFunctor::Pointer ptr_f = _TFunctor::New( );
+     f = ptr_f.GetPointer( );
+     out->SetITK( f );
 
-  } // fi
-  f->SetUseImageSpacing( this->m_Parameters.GetBool( "UseImageSpacing" ) );
+     } // fi
+     f->SetUseImageSpacing( this->m_Parameters.GetBool( "UseImageSpacing" ) );
+  */
 }
 
 // eof - $RCSfile$