]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/SeedsInterface.h
...
[FrontAlgorithms.git] / lib / fpa / Base / SeedsInterface.h
index 8162675cf003469497f797b9c1cdd108e8dc7971..d556f3aed3017b78411d48d12aabeff3188f8192 100644 (file)
 #include <itkConceptChecking.h>
 #include <itkProcessObject.h>
 
-/* TODO
-   #include <functional>
-   #include <set>
-   #include <vector>
-*/
-
 namespace fpa
 {
   namespace Base
@@ -30,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: