X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FBase%2FSingleSeedInterface.h;fp=lib%2Ffpa%2FBase%2FSingleSeedInterface.h;h=02950325cbf0cac1200211ba1e9f3b3a8f8b0e94;hb=75a965968c4234c08e1ad1700ee5bc8da6362eba;hp=807d8d0552cb557818446b85d7941be37fad782e;hpb=c9542e420b94b0bfc1f285599f7816eab1191519;p=FrontAlgorithms.git diff --git a/lib/fpa/Base/SingleSeedInterface.h b/lib/fpa/Base/SingleSeedInterface.h index 807d8d0..0295032 100644 --- a/lib/fpa/Base/SingleSeedInterface.h +++ b/lib/fpa/Base/SingleSeedInterface.h @@ -24,53 +24,10 @@ namespace fpa typedef _TTraits TTraits; fpa_Base_TraitTypes( typename TTraits ); - /* TODO - typedef _TVertex TVertex; - typedef _TPoint TPoint; - typedef _TInputValue TInputValue; - typedef _TOutputValue TOutputValue; - typedef _TFrontId TFrontId; - typedef _TCompare TCompare; - typedef SeedsInterface Self; - - struct TSeed - { - TVertex Vertex; - TPoint Point; - bool IsPoint; - bool IsUnified; - TFrontId FrontId; - TSeed( ) - : IsUnified( false ), - FrontId( TFrontId( 0 ) ) - { } - }; - typedef std::vector< TSeed > TSeeds; - - struct TNode - { - TVertex Vertex; - TVertex Parent; - TFrontId FrontId; - - // Hack to hide the fact that seed values need to be initialized - mutable TOutputValue Value; - }; - struct TNodeCompare - { - bool operator()( const TNode& a, const TNode& b ) const - { - TCompare cmp; - return( cmp( a.Vertex, b.Vertex ) ); - } - }; - typedef std::set< TNode, TNodeCompare > TNodes; - */ - private: itkConceptMacro( Check_TFrontId, - ( itk::Concept::IsUnsignedInteger< _TFrontId > ) + ( itk::Concept::IsUnsignedInteger< TFrontId > ) ); public: