]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/Mori.h
...
[FrontAlgorithms.git] / lib / fpa / Base / Mori.h
index 27f6915a671a8893805afc193973e9eb491278fc..e7ea726eab3c61809d5c7f2b8f9e1cc878ee5b61 100644 (file)
@@ -10,8 +10,8 @@
 #include <set>
 #include <itkConceptChecking.h>
 #include <itkFunctionBase.h>
-
 #include <ivq/ITK/PeakDetector.h>
+#include <fpa/Config.h>
 #include <fpa/Base/Functors/RegionGrow/BinaryThreshold.h>
 
 namespace fpa
@@ -30,12 +30,17 @@ 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::TFrontId     TFrontId;
-      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::TFrontId     TFrontId;
+         typedef typename _TAlgorithm::TVertex      TVertex;
+      */
 
       typedef std::deque< TNode >     TQueue;
       typedef std::set< TInputValue > TThresholds;