vtkSmartPointer< vtkFloatArray >::New( );
const TDijkstra::TVertices& endpoints = paths->GetEndPoints( );
- const TDijkstra::TTree& tree = paths->GetFinalTree( );
+ const TDijkstra::TTree& tree = paths->GetFullTree( );
TDijkstra::TVertices::const_iterator epIt = endpoints.begin( );
for( unsigned int epId = 0; epIt != endpoints.end( ); ++epIt, ++epId )
{
cells->InsertCellPoint( points->GetNumberOfPoints( ) - 1 );
} // fi
- idx = tree.find( idx )->second;
+ idx = tree.find( idx )->second.first;
- } while( idx != tree.find( idx )->second );
+ } while( idx != tree.find( idx )->second.first );
} // rof