Go to the documentation of this file. 31 #define DEG2RAD(x) ((x) * 0.01745329251994329575) 35 #define RAD2DEG(x) ((x) * 57.29577951308232087721) 40 # define G2O_ATTRIBUTE_CONSTRUCTOR(func) \ 41 static void func(void)__attribute__ ((constructor)); \ 42 static void func(void) 44 # define G2O_ATTRIBUTE_UNUSED __attribute__((unused)) 45 # define G2O_ATTRIBUTE_FORMAT12 __attribute__ ((format (printf, 1, 2))) 46 # define G2O_ATTRIBUTE_FORMAT23 __attribute__ ((format (printf, 2, 3))) 47 # define G2O_ATTRIBUTE_WARNING(func) func __attribute__((warning)) 48 # define G2O_ATTRIBUTE_DEPRECATED(func) func __attribute__((deprecated)) 51 # define g2o_isnan(x) isnan(x) 52 # define g2o_isinf(x) isinf(x) 53 # define g2o_isfinite(x) isfinite(x) 55 # define g2o_isnan(x) std::isnan(x) 56 # define g2o_isinf(x) std::isinf(x) 57 # define g2o_isfinite(x) std::isfinite(x) 61 #elif defined _MSC_VER 62 # define __PRETTY_FUNCTION__ __FUNCTION__ 74 # define G2O_ATTRIBUTE_CONSTRUCTOR(f) \ 75 __pragma(section(".CRT$XCU",read)) \ 76 static void __cdecl f(void); \ 77 __declspec(allocate(".CRT$XCU")) void (__cdecl*f##_)(void) = f; \ 78 static void __cdecl f(void) 80 # define G2O_ATTRIBUTE_UNUSED 81 # define G2O_ATTRIBUTE_FORMAT12 82 # define G2O_ATTRIBUTE_FORMAT23 83 # define G2O_ATTRIBUTE_WARNING(func) func 84 # define G2O_ATTRIBUTE_DEPRECATED(func) func 88 # define g2o_isnan(x) _isnan(x) 89 # define g2o_isinf(x) (_finite(x) == 0) 90 # define g2o_isfinite(x) (_finite(x) != 0) 94 # ifndef __PRETTY_FUNCTION__ 95 # define __PRETTY_FUNCTION__ "" 97 # define G2O_ATTRIBUTE_CONSTRUCTOR(func) func 98 # define G2O_ATTRIBUTE_UNUSED 99 # define G2O_ATTRIBUTE_FORMAT12 100 # define G2O_ATTRIBUTE_FORMAT23 101 # define G2O_ATTRIBUTE_WARNING(func) func 102 # define G2O_ATTRIBUTE_DEPRECATED(func) func 105 #define g2o_isnan(x) isnan(x) 106 #define g2o_isinf(x) isinf(x) 107 #define g2o_isfinite(x) isfinite(x) 114 #define G2O_FSKIP_LINE(f) \ 115 {char c=' ';while(c != '\n' && f.good() && !(f).eof()) (f).get(c);} 119 #s << " = " << (s) << std::flush 124 #s << " = " << RAD2DEG(s) << "deg" << std::flush 129 std::fixed << s << std::resetiosflags(std::ios_base::fixed) 132 #endif // __cplusplus
orb_slam2_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:05