]> Creatis software - FrontAlgorithms.git/blobdiff - plugins/Plugins/ExtractPathFromMinimumSpanningTree.cxx
...
[FrontAlgorithms.git] / plugins / Plugins / ExtractPathFromMinimumSpanningTree.cxx
index c80ffde353e426ab9eb89ae8727015093347bba6..28534483409075e2be92aa048aeda917a388c689 100644 (file)
@@ -1,8 +1,8 @@
-#include <plugins/Plugins/ExtractPathFromMinimumSpanningTree.h>
+#include <Plugins/ExtractPathFromMinimumSpanningTree.h>
 #include <cpPlugins/DataObjects/Image.h>
 #include <cpPlugins/DataObjects/PolyLineParametricPath.h>
-#include <fpa_DataObjects.h>
 #include <vtkPolyData.h>
+#include <fpa/Image/MinimumSpanningTree.h>
 
 // -------------------------------------------------------------------------
 fpaPlugins::ExtractPathFromMinimumSpanningTree::
@@ -15,7 +15,7 @@ ExtractPathFromMinimumSpanningTree( )
 
   this->_ConfigureInput< _TMST >( "MST", true, false );
   this->_ConfigureInput< _TData >( "Seeds", true, false );
-  this->_ConfigureOutput< _TPath >( "Paths" );
+  this->_ConfigureOutput< _TPath >( "Output" );
 }
 
 // -------------------------------------------------------------------------
@@ -74,7 +74,7 @@ _GD0( _TMST* mst )
 
   typename _TPath::Pointer path;
   mst->GetPath( path, seeds[ 0 ], seeds[ 1 ] );
-  this->GetOutput( "Paths" )->SetITK( path );
+  this->GetOutput( "Output" )->SetITK( path );
 }
 
 // eof - $RCSfile$