#define __fpa__Image__LabelledSeedsInterface__h__
#include <fpa/Base/SeedsInterface.h>
-
#include <itkImage.h>
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;