X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffpa%2FDataStructures%2FImage%2FMinimumSpanningTree.h;h=5adcbad1fdebc2d5b300dd70cbb092977445f2d2;hb=5be07a28290fed315829547221848a0ee90558d1;hp=0c5a0508e0e6e686b77ae8e82d8c2da5ff39dc70;hpb=2047276c8f1a02432fbcc7014722d460d6c1e60f;p=FrontAlgorithms.git diff --git a/lib/fpa/DataStructures/Image/MinimumSpanningTree.h b/lib/fpa/DataStructures/Image/MinimumSpanningTree.h index 0c5a050..5adcbad 100644 --- a/lib/fpa/DataStructures/Image/MinimumSpanningTree.h +++ b/lib/fpa/DataStructures/Image/MinimumSpanningTree.h @@ -5,9 +5,9 @@ #ifndef __fpa__DataStructures__Image__MinimumSpanningTree__h__ #define __fpa__DataStructures__Image__MinimumSpanningTree__h__ -#include #include -#include +#include +#include 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;