1 #ifndef __fpa__Image__MinimumSpanningTree__h__
2 #define __fpa__Image__MinimumSpanningTree__h__
4 #include <fpa/Base/MinimumSpanningTree.h>
5 #include <cpExtensions/DataStructures/PolyLineParametricPath.h>
14 template< unsigned int _VDim >
15 class MinimumSpanningTree
16 : public fpa::Base::MinimumSpanningTree< itk::Index< _VDim >, cpExtensions::DataStructures::PolyLineParametricPath< _VDim >, itk::Image< itk::Offset< _VDim >, _VDim > >
19 typedef itk::Index< _VDim > TVertex;
20 typedef cpExtensions::DataStructures::PolyLineParametricPath< _VDim > TPath;
21 typedef itk::Offset< _VDim > TOffset;
22 typedef itk::Image< TOffset, _VDim > TImage;
23 typedef fpa::Base::MinimumSpanningTree< TVertex, TPath, TImage > Superclass;
24 typedef MinimumSpanningTree Self;
25 typedef itk::SmartPointer< Self > Pointer;
26 typedef itk::SmartPointer< const Self > ConstPointer;
31 fpa::Image::MinimumSpanningTree, fpa::Base::MinimumSpanningTree
35 virtual TVertex GetParent( const TVertex& v ) const fpa_OVERRIDE;
36 virtual void SetParent( const TVertex& v, const TVertex& p ) fpa_OVERRIDE;
39 typename TPath::Pointer& path, const TVertex& a
42 typename TPath::Pointer& path, const TVertex& a, const TVertex& b
46 MinimumSpanningTree( );
47 virtual ~MinimumSpanningTree( );
50 // Purposely not defined
51 MinimumSpanningTree( const Self& other );
52 Self& operator=( const Self& other );
59 #ifndef ITK_MANUAL_INSTANTIATION
60 # include <fpa/Image/MinimumSpanningTree.hxx>
61 #endif // ITK_MANUAL_INSTANTIATION
63 #endif // __fpa__Image__MinimumSpanningTree__h__