X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FLabelledSeedsInterface.h;fp=lib%2Ffpa%2FImage%2FLabelledSeedsInterface.h;h=96016c05df80bfacbd30502daf75cb28a6adadc1;hb=75a965968c4234c08e1ad1700ee5bc8da6362eba;hp=74ec756a071ee0789510a0ea90c516a028804014;hpb=c9542e420b94b0bfc1f285599f7816eab1191519;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/LabelledSeedsInterface.h b/lib/fpa/Image/LabelledSeedsInterface.h index 74ec756..96016c0 100644 --- a/lib/fpa/Image/LabelledSeedsInterface.h +++ b/lib/fpa/Image/LabelledSeedsInterface.h @@ -7,7 +7,6 @@ #define __fpa__Image__LabelledSeedsInterface__h__ #include - #include namespace fpa @@ -16,23 +15,15 @@ namespace fpa { /** */ - template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare = std::greater< _TVertex > > + template< class _TTraits > class LabelledSeedsInterface - : public fpa::Base::SeedsInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare > + : public fpa::Base::SeedsInterface< _TTraits > { 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, TPoint, TInputValue, TOutputValue, TFrontId, TCompare > Superclass; - - typedef typename Superclass::TNode TNode; - typedef typename Superclass::TNodeCompare TNodeCompare; - typedef typename Superclass::TSeeds TSeeds; + typedef _TTraits TTraits; + typedef LabelledSeedsInterface Self; + typedef fpa::Base::SeedsInterface< TTraits > Superclass; + fpa_Base_TraitTypes( typename TTraits ); typedef itk::Image< TFrontId, TVertex::Dimension > TLabelImage;