]> Creatis software - FrontAlgorithms.git/blobdiff - plugins/DijkstraFunctors/SimpleImageDijkstraCost.cxx
...
[FrontAlgorithms.git] / plugins / DijkstraFunctors / SimpleImageDijkstraCost.cxx
index e825a162f3a376db37cdd170f98a89b5ea1f0a89..a053e86b22699175f0c308cfc86414a5f5066b02 100644 (file)
@@ -1,16 +1,17 @@
 #include <DijkstraFunctors/SimpleImageDijkstraCost.h>
-#include <cpInstances/Image.h>
+#include <cpInstances/DataObjects/Image.h>
 
 #include <itkImage.h>
-#include <fpa/Image/Functors/SimpleDijkstraCost.h>
+
+// TODO: #include <fpa/Image/Functors/SimpleDijkstraCost.h>
 
 // -------------------------------------------------------------------------
 fpaPluginsDijkstraFunctors::SimpleImageDijkstraCost::
 SimpleImageDijkstraCost( )
   : Superclass( )
 {
-  typedef cpPlugins::BaseObjects::DataObject _TData;
-  typedef cpInstances::Image _TImage;
+  typedef cpPlugins::Pipeline::DataObject _TData;
+  typedef cpInstances::DataObjects::Image _TImage;
 
   this->_ConfigureInput< _TImage >( "Input", true, false );
   this->_ConfigureOutput< _TData >( "Output" );
@@ -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$