// -------------------------------------------------------------------------
template< unsigned int _VDim >
void fpa::DataStructures::Image::MinimumSpanningTree< _VDim >::
-GetPolyLineParametricPath(
- typename TPolyLineParametricPath::Pointer& path,
- const TVertex& a
- ) const
+GetPath( typename TPath::Pointer& path, const TVertex& a ) const
{
- TVertices v = this->GetPath( a );
+ TVertices v = this->GetAxis( a );
if( path.IsNull( ) )
- path = TPolyLineParametricPath::New( );
+ path = TPath::New( );
path->SetReferenceImage( this );
typename TVertices::const_iterator vIt = v.begin( );
for( ; vIt != v.end( ); ++vIt )
// -------------------------------------------------------------------------
template< unsigned int _VDim >
void fpa::DataStructures::Image::MinimumSpanningTree< _VDim >::
-GetPolyLineParametricPath(
- typename TPolyLineParametricPath::Pointer& path,
- const TVertex& a, const TVertex& b
+GetPath(
+ typename TPath::Pointer& path, const TVertex& a, const TVertex& b
) const
{
- TVertices v = this->GetPath( a, b );
+ TVertices v = this->GetAxis( a, b );
if( path.IsNull( ) )
- path = TPolyLineParametricPath::New( );
+ path = TPath::New( );
path->SetReferenceImage( this );
typename TVertices::const_iterator vIt = v.begin( );
for( ; vIt != v.end( ); ++vIt )