X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FLabelledSeedsInterface.h;h=74ec756a071ee0789510a0ea90c516a028804014;hb=fe01e92d9bce3519fa2a0936b6180ca7b057a87a;hp=2492b843079ed7c11c8a96db1b21784790e6463b;hpb=c4efafee513539e9a58c4a8b8369450ada1df5d8;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/LabelledSeedsInterface.h b/lib/fpa/Image/LabelledSeedsInterface.h index 2492b84..74ec756 100644 --- a/lib/fpa/Image/LabelledSeedsInterface.h +++ b/lib/fpa/Image/LabelledSeedsInterface.h @@ -16,18 +16,19 @@ namespace fpa { /** */ - template< class _TVertex, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare = std::greater< _TVertex > > + template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare = std::greater< _TVertex > > class LabelledSeedsInterface - : public fpa::Base::SeedsInterface< _TVertex, _TInputValue, _TOutputValue, _TFrontId, _TCompare > + : public fpa::Base::SeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare > { public: typedef _TVertex TVertex; + typedef _TPoint TPoint; typedef _TInputValue TInputValue; typedef _TOutputValue TOutputValue; typedef _TFrontId TFrontId; typedef _TCompare TCompare; typedef LabelledSeedsInterface Self; - typedef fpa::Base::SeedsInterface< TVertex, TInputValue, TOutputValue, TFrontId, TCompare > Superclass; + typedef fpa::Base::SeedsInterface< TVertex, TPoint, TInputValue, TOutputValue, TFrontId, TCompare > Superclass; typedef typename Superclass::TNode TNode; typedef typename Superclass::TNodeCompare TNodeCompare; @@ -37,6 +38,7 @@ namespace fpa public: virtual void AddSeed( const TVertex& seed ) override; + virtual void AddSeed( const TPoint& seed ) override; const TLabelImage* GetLabels( ) const; void SetLabels( const TLabelImage* image );