]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Config.h.in
...
[FrontAlgorithms.git] / lib / fpa / Config.h.in
index 708dec1f9f21d52b344660b0e93949f41188ce1f..0e2f03965b5ce2da85f55fc90334ee967af773bd 100644 (file)
@@ -1,25 +1,28 @@
 // =========================================================================
-// @author Leonardo Florez Valencia
-// @email florez-l@javeriana.edu.co
+// @author Leonardo Florez Valencia (florez-l@javeriana.edu.co)
 // =========================================================================
-
 #ifndef __fpa__Config__h__
 #define __fpa__Config__h__
 
-#define VTK_FOUND @VTK_FOUND@
-#if VTK_FOUND == 1
-#  define USE_VTK
-#else
-#  undef USE_VTK
-#endif
+#include <ivq/Config.h>
+#include <fpa/fpa_export.h>
 
-#define ivq_FOUND @ivq_FOUND@
-#if ivq_FOUND == 1
-#  define USE_ivq
-#else
-#  undef USE_ivq
-#endif
+#if @Eigen3_FOUND@ == 1
+#  define USE_Eigen3
+#endif // @Eigen3_FOUND@ == 1
 
-#endif // __fpa__Config__h__
+// -------------------------------------------------------------------------
+#define fpaTraitsMacro( __t__ )                                 \
+  typedef __t__::TInternalTraits::TInputValue   TInputValue;    \
+  typedef __t__::TInternalTraits::TNeighborhood TNeighborhood;  \
+  typedef __t__::TInternalTraits::TMark         TMark;          \
+  typedef __t__::TInternalTraits::TNode         TNode;          \
+  typedef __t__::TInternalTraits::TNodes        TNodes;         \
+  typedef __t__::TInternalTraits::TOutputValue  TOutputValue;   \
+  typedef __t__::TInternalTraits::TPoint        TPoint;         \
+  typedef __t__::TInternalTraits::TSeed         TSeed;          \
+  typedef __t__::TInternalTraits::TSeeds        TSeeds;         \
+  typedef __t__::TInternalTraits::TVertex       TVertex
 
+#endif // __fpa__Config__h__
 // eof - $RCSfile$