#ifndef __FPA__BASE__EXTRACTENDPOINTSANDBIFURCATIONSFROMMINIMUMSPANNINGTREE__H__
#define __FPA__BASE__EXTRACTENDPOINTSANDBIFURCATIONSFROMMINIMUMSPANNINGTREE__H__
+#include <utility>
#include <vector>
#include <itkProcessObject.h>
+#include <itkSimpleDataObjectDecorator.h>
#include <cpExtensions/DataStructures/ImageIndexesContainer.h>
namespace fpa
typedef itk::SmartPointer< const Self > ConstPointer;
typedef _TMST TMinimumSpanningTree;
- typedef typename _TMST::TVertex TVertex;
+ typedef typename _TMST::TVertex TVertex;
+ typedef std::pair< TVertex, TVertex > TBranch;
+ typedef itk::SimpleDataObjectDecorator< std::vector< TBranch > > TBranches;
typedef
cpExtensions::DataStructures::ImageIndexesContainer< TVertex::Dimension >
TVertices* GetEndPoints( );
TVertices* GetBifurcations( );
TVertices* GetCollisions( );
+ TBranches* GetBranches( );
virtual void Update( ) ITK_OVERRIDE
{