X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FConfig.h.in;h=0e2f03965b5ce2da85f55fc90334ee967af773bd;hb=463b1ec45c70ca63aa9f19f8cb58ae5d5134e56b;hp=1050a244fec50816e064be850f54b9cbb08b398e;hpb=ea46079b5aef76c1782648ed23e70ea944649635;p=FrontAlgorithms.git diff --git a/lib/fpa/Config.h.in b/lib/fpa/Config.h.in index 1050a24..0e2f039 100644 --- a/lib/fpa/Config.h.in +++ b/lib/fpa/Config.h.in @@ -1,39 +1,28 @@ +// ========================================================================= +// @author Leonardo Florez Valencia (florez-l@javeriana.edu.co) +// ========================================================================= #ifndef __fpa__Config__h__ #define __fpa__Config__h__ -#include +#include +#include -/* - * ========================================================================= - * Version numbers and strings - * ========================================================================= - */ -#define fpa_MAJOR_VERSION @prj_MAJ_VER@ -#define fpa_MINOR_VERSION @prj_MIN_VER@ -#define fpa_RELEASE_VERSION @prj_REL_VER@ -#define fpa_VERSION "@prj_VERSION@" -#define fpa_SHORT_VERSION "@prj_SHORT_VERSION@" +#if @Eigen3_FOUND@ == 1 +# define USE_Eigen3 +#endif // @Eigen3_FOUND@ == 1 -/* - * ========================================================================= - * Language related macros - * ========================================================================= - */ - -#if __cplusplus >= 201103L -# define fpa_OVERRIDE override -# define fpa_DELETE_FUNCTION =delete -# define fpa_NULLPTR nullptr -# define fpa_NOEXCEPT noexcept -# define fpa_HAS_CXX11_STATIC_ASSERT -# define fpa_HAS_CXX11_RVREF -#else -# define fpa_OVERRIDE -# define fpa_DELETE_FUNCTION -# define fpa_NULLPTR NULL -# define fpa_NOEXCEPT throw() -#endif +// ------------------------------------------------------------------------- +#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$