]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/DijkstraBase.h
...
[FrontAlgorithms.git] / lib / fpa / Base / DijkstraBase.h
index 4f08eb94bf94a9ab1ae95c3b6d214c43c6cc1fcf..b5f214fe2a23d0c1c3e3b0499804235d8e8c6052 100644 (file)
@@ -7,8 +7,8 @@
 #define __fpa__Base__DijkstraBase__h__
 
 #include <vector>
-
 #include <itkConceptChecking.h>
+#include <fpa/Config.h>
 #include <fpa/Base/Functors/Dijkstra/Function.h>
 
 namespace fpa
@@ -27,11 +27,16 @@ namespace fpa
       typedef itk::SmartPointer< Self >       Pointer;
       typedef itk::SmartPointer< const Self > ConstPointer;
 
-      typedef typename _TAlgorithm::TNode        TNode;
-      typedef typename _TAlgorithm::TNodes       TNodes;
-      typedef typename _TAlgorithm::TInputValue  TInputValue;
-      typedef typename _TAlgorithm::TOutputValue TOutputValue;
-      typedef typename _TAlgorithm::TVertex      TVertex;
+      typedef typename _TAlgorithm::TTraits TTraits;
+      fpa_Base_TraitTypes( typename TTraits );
+
+      /* TODO
+         typedef typename _TAlgorithm::TNode        TNode;
+         typedef typename _TAlgorithm::TNodes       TNodes;
+         typedef typename _TAlgorithm::TInputValue  TInputValue;
+         typedef typename _TAlgorithm::TOutputValue TOutputValue;
+         typedef typename _TAlgorithm::TVertex      TVertex;
+      */
 
       typedef std::vector< TNode > TQueue;
       struct TQueueOrder