]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/LabelledSeedsInterface.h
...
[FrontAlgorithms.git] / lib / fpa / Image / LabelledSeedsInterface.h
index 2492b843079ed7c11c8a96db1b21784790e6463b..74ec756a071ee0789510a0ea90c516a028804014 100644 (file)
@@ -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 );