1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
6 #ifndef __fpa__Base__SeedsInterface__h__
7 #define __fpa__Base__SeedsInterface__h__
9 #include <itkProcessObject.h>
18 template< class _TVertex, class _TCompare >
22 typedef _TVertex TVertex;
23 typedef _TCompare TCompare;
24 typedef SeedsInterface Self;
25 typedef std::set< TVertex, TCompare > TSeeds;
28 unsigned int GetNumberOfSeeds( ) const;
29 const TSeeds& GetSeeds( ) const;
30 typename TSeeds::const_iterator BeginSeeds( ) const;
31 typename TSeeds::const_iterator EndSeeds( ) const;
33 void AddSeed( const TVertex& seed );
34 void RemoveSeed( const TVertex& seed );
38 SeedsInterface( itk::ProcessObject* filter );
39 virtual ~SeedsInterface( );
43 itk::ProcessObject* m_Filter;
50 #ifndef ITK_MANUAL_INSTANTIATION
51 # include <fpa/Base/SeedsInterface.hxx>
52 #endif // ITK_MANUAL_INSTANTIATION
54 #endif // __fpa__Base__SeedsInterface__h__