X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FConfig.h.in;h=0e2f03965b5ce2da85f55fc90334ee967af773bd;hb=c1cf87b9287cd0a9fb3ca718ea2c39f014cb4b1b;hp=18294bf750c8374c4ca1f5dfe0ac272729ff0a3b;hpb=3a438326c6901fafd9be8b5446a828aa5f63a1cc;p=FrontAlgorithms.git diff --git a/lib/fpa/Config.h.in b/lib/fpa/Config.h.in index 18294bf..0e2f039 100644 --- a/lib/fpa/Config.h.in +++ b/lib/fpa/Config.h.in @@ -1,18 +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 ivq_FOUND @ivq_FOUND@ -#if ivq_FOUND == 1 -# define USE_ivq -#else -# undef USE_ivq -#endif +#include +#include -#endif // __fpa__Config__h__ +#if @Eigen3_FOUND@ == 1 +# define USE_Eigen3 +#endif // @Eigen3_FOUND@ == 1 +// ------------------------------------------------------------------------- +#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$