X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FDataStructures%2FPolyLineParametricPath.h;h=7f122000948b60793d6f995152980e75939efd55;hb=357b159c7f06bdb1bb65a9ebecf8b2345b3f2900;hp=3358d0fc4c13d130b6bb34b6ce23068c9eb8c2d3;hpb=211cd32b53b9739923f6c5135a704ce1852deca1;p=cpPlugins.git diff --git a/lib/cpExtensions/DataStructures/PolyLineParametricPath.h b/lib/cpExtensions/DataStructures/PolyLineParametricPath.h index 3358d0f..7f12200 100644 --- a/lib/cpExtensions/DataStructures/PolyLineParametricPath.h +++ b/lib/cpExtensions/DataStructures/PolyLineParametricPath.h @@ -26,6 +26,7 @@ namespace cpExtensions typedef typename TImageBase::PointType TPoint; typedef typename TImageBase::DirectionType TDirection; typedef typename Superclass::ContinuousIndexType TContinuousIndex; + typedef typename TContinuousIndex::IndexType TIndex; typedef typename TPoint::VectorType TVector; typedef cpExtensions::Algorithms::BezierCurveFunction< TVector > TBezier; @@ -44,7 +45,8 @@ namespace cpExtensions public: void AddVertex( const TContinuousIndex& vertex ); unsigned long GetSize( ) const; - TContinuousIndex GetVertex( unsigned long i ) const; + TContinuousIndex GetContinuousVertex( unsigned long i ) const; + TIndex GetVertex( unsigned long i ) const; TPoint GetPoint( unsigned long i ) const; TPoint GetSmoothPoint( double u ) const;