]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/DataStructures/Image/MinimumSpanningTree.h
...
[FrontAlgorithms.git] / lib / fpa / DataStructures / Image / MinimumSpanningTree.h
index 0c5a0508e0e6e686b77ae8e82d8c2da5ff39dc70..5adcbad1fdebc2d5b300dd70cbb092977445f2d2 100644 (file)
@@ -5,9 +5,9 @@
 #ifndef __fpa__DataStructures__Image__MinimumSpanningTree__h__
 #define __fpa__DataStructures__Image__MinimumSpanningTree__h__
 
-#include <fpa/DataStructures/MinimumSpanningTree.h>
 #include <itkImage.h>
-#include <fpa/DataStructures/Image/PolyLineParametricPath.h>
+#include <fpa/DataStructures/MinimumSpanningTree.h>
+#include <fpa/DataStructures/Image/Path.h>
 
 namespace fpa
 {
@@ -35,7 +35,7 @@ namespace fpa
         typedef typename Superclass::TCollisions    TCollisions;
         typedef typename Superclass::TVertices      TVertices;
 
-        typedef fpa::DataStructures::Image::PolyLineParametricPath< _VDim > TPolyLineParametricPath;
+        typedef fpa::DataStructures::Image::Path< _VDim > TPath;
 
       public:
         itkNewMacro( Self );
@@ -48,12 +48,9 @@ namespace fpa
         virtual TVertex GetParent( const TVertex& v ) const override;
         virtual void SetParent( const TVertex& v, const TVertex& p ) override;
 
-        void GetPolyLineParametricPath(
-          typename TPolyLineParametricPath::Pointer& path,
-          const TVertex& a
-          ) const;
-        void GetPolyLineParametricPath(
-          typename TPolyLineParametricPath::Pointer& path,
+        void GetPath( typename TPath::Pointer& path, const TVertex& a ) const;
+        void GetPath(
+          typename TPath::Pointer& path,
           const TVertex& a, const TVertex& b
           ) const;