1 #ifndef __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__
2 #define __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__
5 #include <fpa/Base/VectorValuesContainer.h>
6 #include <itkProcessObject.h>
7 #include <itkPolyLineParametricPath.h>
16 class ExtractPathFromMinimumSpanningTree
17 : public itk::ProcessObject
20 typedef ExtractPathFromMinimumSpanningTree Self;
21 typedef itk::ProcessObject Superclass;
22 typedef itk::SmartPointer< Self > Pointer;
23 typedef itk::SmartPointer< const Self > ConstPointer;
25 typedef T TMinimumSpanningTree;
26 typedef typename T::TVertex TVertex;
27 typedef itk::PolyLineParametricPath< TVertex::Dimension > TPath;
31 itkTypeMacro( ExtractPathFromMinimumSpanningTree, itk::ProcessObject );
33 itkGetConstMacro( Vertex0, TVertex );
34 itkGetConstMacro( Vertex1, TVertex );
36 itkSetMacro( Vertex0, TVertex );
37 itkSetMacro( Vertex1, TVertex );
40 const T* GetInput( ) const;
41 void SetInput( const T* tree );
46 ExtractPathFromMinimumSpanningTree( );
47 virtual ~ExtractPathFromMinimumSpanningTree( );
49 virtual void GenerateData( );
52 // Purposely not implemented
53 ExtractPathFromMinimumSpanningTree( const Self& other );
54 Self& operator=( const Self& other );
65 #ifndef ITK_MANUAL_INSTANTIATION
66 #include <fpa/Base/ExtractPathFromMinimumSpanningTree.hxx>
67 #endif // ITK_MANUAL_INSTANTIATION
69 #endif // __FPA__BASE__EXTRACTPATHFROMMINIMUMSPANNINGTREE__H__