#include <pcl/pcl_config.h>#include <boost/cstdint.hpp>#include <cstdlib>#include <iostream>#include <stdarg.h>#include <stdio.h>#include <math.h>
Go to the source code of this file.
Namespaces | |
| namespace | pcl |
Defines | |
| #define | __has_extension(x) 0 |
| #define | _USE_MATH_DEFINES |
| #define | DEG2RAD(x) ((x)*0.017453293) |
| #define | ERASE_ARRAY(var, size) memset(var, 0, size*sizeof(*var)) |
| #define | ERASE_STRUCT(var) memset(&var, 0, sizeof(var)) |
| #define | FIXED(s) std::fixed << s << std::resetiosflags(std::ios_base::fixed) |
| #define | FREEBSD_MALLOC_ALIGNED 0 |
| #define | GLIBC_MALLOC_ALIGNED 0 |
| #define | MALLOC_ALIGNED 0 |
| #define | PCL_CDECL |
| #define | PCL_DEPRECATED(func) func |
| #define | PCL_DEPRECATED_CLASS(func) func |
| #define | PCL_EXPORTS |
| #define | PCL_EXTERN_C |
| #define | pcl_isfinite(x) isfinite(x) |
| #define | pcl_isinf(x) isinf(x) |
| #define | pcl_isnan(x) isnan(x) |
| #define | PCL_LINEAR_VERSION(major, minor, patch) ((major)<<16|(minor)<<8|(patch)) |
| Macro that maps version information given by major.minor.patch to a linear integer value to enable easy comparison. | |
| #define | pcl_lrint(x) (static_cast<long int>(pcl_round(x))) |
| #define | pcl_lrintf(x) (static_cast<long int>(pcl_round(x))) |
| #define | pcl_sleep(x) sleep(x) |
| #define | PCL_STDCALL |
| #define | PCLAPI(rettype) PCL_EXTERN_C PCL_EXPORTS rettype PCL_CDECL |
| #define | PVAR(s) #s << " = " << (s) << std::flush |
| #define | PVARA(s) #s << " = " << RAD2DEG(s) << "deg" << std::flush |
| #define | PVARAC(s) #s << " = " << RAD2DEG(s) << "deg, " << std::flush |
| #define | PVARAN(s) #s << " = " << RAD2DEG(s) << "deg\n" |
| #define | PVARAS(s) #s << " = " << RAD2DEG(s) << "deg " << std::flush |
| #define | PVARC(s) #s << " = " << (s) << ", " << std::flush |
| #define | PVARN(s) #s << " = " << (s) << "\n" |
| #define | PVARS(s) #s << " = " << (s) << " " << std::flush |
| #define | RAD2DEG(x) ((x)*57.29578) |
| #define | SET_ARRAY(var, value, size) { for (int i = 0; i < static_cast<int> (size); ++i) var[i]=value; } |
Functions | |
| void | aligned_free (void *ptr) |
| void * | aligned_malloc (size_t size) |
| __inline double | pcl_round (double number) |
| __inline float | pcl_round (float number) |
| #define __has_extension | ( | x | ) | 0 |
Definition at line 300 of file pcl_macros.h.
| #define _USE_MATH_DEFINES |
Definition at line 72 of file pcl_macros.h.
| #define DEG2RAD | ( | x | ) | ((x)*0.017453293) |
Definition at line 137 of file pcl_macros.h.
| #define ERASE_ARRAY | ( | var, | |
| size | |||
| ) | memset(var, 0, size*sizeof(*var)) |
Definition at line 227 of file pcl_macros.h.
| #define ERASE_STRUCT | ( | var | ) | memset(&var, 0, sizeof(var)) |
Definition at line 223 of file pcl_macros.h.
Definition at line 219 of file pcl_macros.h.
| #define FREEBSD_MALLOC_ALIGNED 0 |
Definition at line 373 of file pcl_macros.h.
| #define GLIBC_MALLOC_ALIGNED 0 |
Definition at line 367 of file pcl_macros.h.
| #define MALLOC_ALIGNED 0 |
Definition at line 379 of file pcl_macros.h.
| #define PCL_CDECL |
Definition at line 282 of file pcl_macros.h.
| #define PCL_DEPRECATED | ( | func | ) | func |
Definition at line 318 of file pcl_macros.h.
| #define PCL_DEPRECATED_CLASS | ( | func | ) | func |
Definition at line 353 of file pcl_macros.h.
| #define PCL_EXPORTS |
Definition at line 275 of file pcl_macros.h.
| #define PCL_EXTERN_C |
Definition at line 264 of file pcl_macros.h.
| #define pcl_isfinite | ( | x | ) | isfinite(x) |
Definition at line 131 of file pcl_macros.h.
| #define pcl_isinf | ( | x | ) | isinf(x) |
Definition at line 132 of file pcl_macros.h.
| #define pcl_isnan | ( | x | ) | isnan(x) |
Definition at line 130 of file pcl_macros.h.
| #define PCL_LINEAR_VERSION | ( | major, | |
| minor, | |||
| patch | |||
| ) | ((major)<<16|(minor)<<8|(patch)) |
Macro that maps version information given by major.minor.patch to a linear integer value to enable easy comparison.
Definition at line 146 of file pcl_macros.h.
Definition at line 167 of file pcl_macros.h.
| #define pcl_lrintf | ( | x | ) | (static_cast<long int>(pcl_round(x))) |
Definition at line 168 of file pcl_macros.h.
| #define pcl_sleep | ( | x | ) | sleep(x) |
Definition at line 183 of file pcl_macros.h.
| #define PCL_STDCALL |
Definition at line 283 of file pcl_macros.h.
| #define PCLAPI | ( | rettype | ) | PCL_EXTERN_C PCL_EXPORTS rettype PCL_CDECL |
Definition at line 287 of file pcl_macros.h.
Definition at line 203 of file pcl_macros.h.
Definition at line 211 of file pcl_macros.h.
Definition at line 207 of file pcl_macros.h.
Definition at line 215 of file pcl_macros.h.
Definition at line 195 of file pcl_macros.h.
Definition at line 199 of file pcl_macros.h.
| #define RAD2DEG | ( | x | ) | ((x)*57.29578) |
Definition at line 141 of file pcl_macros.h.
| #define SET_ARRAY | ( | var, | |
| value, | |||
| size | |||
| ) | { for (int i = 0; i < static_cast<int> (size); ++i) var[i]=value; } |
Definition at line 231 of file pcl_macros.h.
| void aligned_free | ( | void * | ptr | ) | [inline] |
Definition at line 403 of file pcl_macros.h.
| void* aligned_malloc | ( | size_t | size | ) | [inline] |
Definition at line 383 of file pcl_macros.h.
| __inline double pcl_round | ( | double | number | ) |
Win32 doesn't seem to have rounding functions. Therefore implement our own versions of these functions here.
Definition at line 153 of file pcl_macros.h.
| __inline float pcl_round | ( | float | number | ) |
Definition at line 158 of file pcl_macros.h.