1 #ifndef __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__
2 #define __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__
5 #include <itkProcessObject.h>
6 #include <cpExtensions/DataStructures/PolyLineParametricPath.h>
15 class ExtractPathFromMinimumSpanningTree
16 : public itk::ProcessObject
19 typedef ExtractPathFromMinimumSpanningTree Self;
20 typedef itk::ProcessObject Superclass;
21 typedef itk::SmartPointer< Self > Pointer;
22 typedef itk::SmartPointer< const Self > ConstPointer;
24 typedef T TMinimumSpanningTree;
25 typedef typename T::TVertex TVertex;
27 cpExtensions::DataStructures::PolyLineParametricPath< TVertex::Dimension >
32 itkTypeMacro( ExtractPathFromMinimumSpanningTree, itk::ProcessObject );
34 itkGetConstMacro( Vertex0, TVertex );
35 itkGetConstMacro( Vertex1, TVertex );
37 itkSetMacro( Vertex0, TVertex );
38 itkSetMacro( Vertex1, TVertex );
41 const T* GetInput( ) const;
42 void SetInput( const T* tree );
47 ExtractPathFromMinimumSpanningTree( );
48 virtual ~ExtractPathFromMinimumSpanningTree( );
50 virtual void GenerateData( ) ITK_OVERRIDE;
53 // Purposely not implemented
54 ExtractPathFromMinimumSpanningTree( const Self& other );
55 Self& operator=( const Self& other );
66 #ifndef ITK_MANUAL_INSTANTIATION
67 #include <fpa/Base/ExtractPathFromMinimumSpanningTree.hxx>
68 #endif // ITK_MANUAL_INSTANTIATION
70 #endif // __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__