]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Algorithms/SkeletonWriter.hxx
...
[cpPlugins.git] / lib / cpExtensions / Algorithms / SkeletonWriter.hxx
index be39b90909bfc854710f693c939ceef7725f8ead..3be1d79d573dbeabba080d830092eeea8ceecf5d 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef __cpExtensions__Algorithms__SkeletonWriter__hxx__
 #define __cpExtensions__Algorithms__SkeletonWriter__hxx__
 
-#include <cpPlugins/Utility.h>
+#include <cpExtensions/Utility.h>
 
 // -------------------------------------------------------------------------
 template< class _TSkeleton >
@@ -105,7 +105,7 @@ GenerateData( )
             out << v[ d ] << " ";
 
         } // rof
-        std::cout << std::endl;
+        out << std::endl;
 
       } // rof
 
@@ -114,7 +114,7 @@ GenerateData( )
   } // rof
   out << "0" << std::endl;
 
-  if( !( cpPlugins::Write( out.str( ), this->m_FileName ) ) )
+  if( !( cpExtensions::Write( out.str( ), this->m_FileName ) ) )
     itkExceptionMacro(
       << "Unable to write skeleton to \""
       << this->m_FileName