]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Config.h.in
...
[FrontAlgorithms.git] / lib / fpa / Config.h.in
index 18294bf750c8374c4ca1f5dfe0ac272729ff0a3b..aa7042b3675a32e0bd1fa30be62869cfff331b77 100644 (file)
@@ -6,6 +6,13 @@
 #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
+
 #define ivq_FOUND @ivq_FOUND@
 #if ivq_FOUND == 1
 #  define USE_ivq
 #  undef USE_ivq
 #endif
 
+// -------------------------------------------------------------------------
+#define fpa_Base_TraitTypes( _traits_ )              \
+  typedef _traits_::TEvent        TEvent;            \
+  typedef _traits_::TFrontId      TFrontId;          \
+  typedef _traits_::TInputValue   TInputValue;       \
+  typedef _traits_::TNeighborhood TNeighborhood;     \
+  typedef _traits_::TNode         TNode;             \
+  typedef _traits_::TNodes        TNodes;            \
+  typedef _traits_::TOutputValue  TOutputValue;      \
+  typedef _traits_::TPoint        TPoint;            \
+  typedef _traits_::TSeed         TSeed;             \
+  typedef _traits_::TSeeds        TSeeds;            \
+  typedef _traits_::TVertex       TVertex
+
 #endif // __fpa__Config__h__
 
 // eof - $RCSfile$