1 #ifndef __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__
2 #define __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__
5 #include <itkProcessObject.h>
6 #include <itkPolyLineParametricPath.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;
26 typedef itk::PolyLineParametricPath< TVertex::Dimension > TPath;
30 itkTypeMacro( ExtractPathFromMinimumSpanningTree, itk::ProcessObject );
32 itkGetConstMacro( Vertex0, TVertex );
33 itkGetConstMacro( Vertex1, TVertex );
35 itkSetMacro( Vertex0, TVertex );
36 itkSetMacro( Vertex1, TVertex );
39 const T* GetInput( ) const;
40 void SetInput( const T* tree );
45 ExtractPathFromMinimumSpanningTree( );
46 virtual ~ExtractPathFromMinimumSpanningTree( );
48 virtual void GenerateData( );
51 // Purposely not implemented
52 ExtractPathFromMinimumSpanningTree( const Self& other );
53 Self& operator=( const Self& other );
64 #ifndef ITK_MANUAL_INSTANTIATION
65 #include <fpa/Base/ExtractPathFromMinimumSpanningTree.hxx>
66 #endif // ITK_MANUAL_INSTANTIATION
68 #endif // __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__