]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/ExtractEndPointsAndBifurcationsFromMinimumSpanningTree.h
...
[FrontAlgorithms.git] / lib / fpa / Base / ExtractEndPointsAndBifurcationsFromMinimumSpanningTree.h
index 598e15d20b1d717593abdd83cadbe11b8d5d5dd8..9a129042e48411d1f30c9d29e2499212696b0b01 100644 (file)
@@ -26,7 +26,7 @@ namespace fpa
       typedef _TMST  TMinimumSpanningTree;
       typedef typename _TMST::TVertex       TVertex;
       typedef std::pair< TVertex, TVertex > TBranch;
-      typedef itk::SimpleDataObjectDecorator< std::vector< TBranch > > TBranches;
+      typedef std::vector< TBranch >        TBranches;
 
       typedef
       cpExtensions::DataStructures::ImageIndexesContainer< TVertex::Dimension >
@@ -45,7 +45,6 @@ namespace fpa
       TVertices* GetEndPoints( );
       TVertices* GetBifurcations( );
       TVertices* GetCollisions( );
-      TBranches* GetBranches( );
 
       virtual void Update( ) ITK_OVERRIDE
         {
@@ -76,6 +75,9 @@ namespace fpa
       // Purposely not implemented
       ExtractEndPointsAndBifurcationsFromMinimumSpanningTree( const Self& other );
       Self& operator=( const Self& other );
+
+    protected:
+      TBranches m_Branches;
     };
 
   } // ecapseman