]> Creatis software - FrontAlgorithms.git/blobdiff - tests/image/Dijkstra/ExtractAxis.cxx
...
[FrontAlgorithms.git] / tests / image / Dijkstra / ExtractAxis.cxx
index d9eb7ad2efaad40768c502df89410a5821fa9795..6d94caecde3e6823b6513b5af5b29219abdc4a3d 100644 (file)
@@ -5,7 +5,7 @@
 
 #include <itkImage.h>
 #include <itkImageFileReader.h>
-#include <fpa/Common/Image/PolyLineParametricPathWriter.h>
+#include <fpa/Common/Image/PathWriter.h>
 #include <fpa/Filters/Image/ExtractAxis.h>
 
 // -------------------------------------------------------------------------
@@ -59,7 +59,7 @@ int main( int argc, char* argv[] )
   filter->Update( );
 
   // Save results
-  typedef fpa::Common::Image::PolyLineParametricPathWriter< TFilter::TPath > TPathWriter;
+  typedef fpa::Common::Image::PathWriter< TFilter::TPath > TPathWriter;
   TPathWriter::Pointer path_writer = TPathWriter::New( );
   path_writer->SetInput( filter->GetOutput( ) );
   path_writer->SetFileName( output_path_filename );