#define __FPA__BASE__EXTRACTBRANCHESFROMMINIMUMSPANNINGTREE__H__
#include <set>
-#include <fpa/Base/MatrixValuesContainer.h>
+#include <fpa/Base/VectorValuesContainer.h>
#include <itkProcessObject.h>
#include <itkPolyLineParametricPath.h>
typedef itk::SmartPointer< Self > Pointer;
typedef itk::SmartPointer< const Self > ConstPointer;
- typedef T TMinimumSpanningTree;
- typedef typename T::TVertex TVertex;
- typedef typename T::TVertexCompare TVertexCompare;
- typedef itk::PolyLineParametricPath< TVertex::Dimension > TPath;
- typedef fpa::Base::MatrixValuesContainer< TVertex, typename TPath::Pointer, TVertexCompare > TBranches;
+ typedef T TMinimumSpanningTree;
+ typedef typename T::TVertex TVertex;
+ typedef typename T::TVertexCompare TVertexCompare;
+ typedef itk::PolyLineParametricPath< TVertex::Dimension > TPath;
+ typedef std::set< TVertex, TVertexCompare > TEndPoints;
- typedef std::set< TVertex, TVertexCompare > TEndPoints;
+ typedef
+ fpa::Base::VectorValuesContainer< typename TPath::Pointer >
+ TBranches;
public:
itkNewMacro( Self );
const T* GetInput( ) const;
void SetInput( const T* tree );
- TBranches* GetOutput( );
+ TPath* GetOutput( );
void ClearEndPoints( );
void AddEndPoint( const TVertex& v );