X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FLabelledSeedsInterface.hxx;fp=lib%2Ffpa%2FImage%2FLabelledSeedsInterface.hxx;h=5b184f1db5e53151ecae81fcb22d78139ec9336a;hb=75a965968c4234c08e1ad1700ee5bc8da6362eba;hp=98cc3347f70534fe1bd723f11c1c2c33b159a9b7;hpb=c9542e420b94b0bfc1f285599f7816eab1191519;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/LabelledSeedsInterface.hxx b/lib/fpa/Image/LabelledSeedsInterface.hxx index 98cc334..5b184f1 100644 --- a/lib/fpa/Image/LabelledSeedsInterface.hxx +++ b/lib/fpa/Image/LabelledSeedsInterface.hxx @@ -10,9 +10,8 @@ #include // ------------------------------------------------------------------------- -template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > -void -fpa::Image::LabelledSeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: +template< class _TTraits > +void fpa::Image::LabelledSeedsInterface< _TTraits >:: AddSeed( const TVertex& seed ) { std::ostringstream msg; @@ -26,9 +25,8 @@ AddSeed( const TVertex& seed ) } // ------------------------------------------------------------------------- -template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > -void -fpa::Image::LabelledSeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: +template< class _TTraits > +void fpa::Image::LabelledSeedsInterface< _TTraits >:: AddSeed( const TPoint& seed ) { std::ostringstream msg; @@ -42,35 +40,33 @@ AddSeed( const TPoint& seed ) } // ------------------------------------------------------------------------- -template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > -const typename -fpa::Image::LabelledSeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: -TLabelImage* -fpa::Image::LabelledSeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: +template< class _TTraits > +const typename fpa::Image::LabelledSeedsInterface< _TTraits >:: +TLabelImage* fpa::Image::LabelledSeedsInterface< _TTraits >:: GetLabels( ) const { return( this->m_LabelImage ); } // ------------------------------------------------------------------------- -template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > -void fpa::Image::LabelledSeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: +template< class _TTraits > +void fpa::Image::LabelledSeedsInterface< _TTraits >:: SetLabels( const TLabelImage* image ) { this->m_LabelImage = image; } // ------------------------------------------------------------------------- -template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > -fpa::Image::LabelledSeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: +template< class _TTraits > +fpa::Image::LabelledSeedsInterface< _TTraits >:: LabelledSeedsInterface( itk::ProcessObject* filter ) : Superclass( filter ) { } // ------------------------------------------------------------------------- -template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > -fpa::Image::LabelledSeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: +template< class _TTraits > +fpa::Image::LabelledSeedsInterface< _TTraits >:: ~LabelledSeedsInterface( ) { }