|
Point Cloud Library (PCL)
1.5.1
|
#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 |
| Software License Agreement (BSD License) | |
Defines | |
| #define | pcl_isnan(x) isnan(x) |
| #define | pcl_isfinite(x) isfinite(x) |
| #define | pcl_isinf(x) isinf(x) |
| #define | M_PI 3.14159265358979323846 |
| #define | M_PI_4 0.785398163397448309616 |
| #define | M_E 2.7182818284590452354 |
| #define | M_LN2 0.693147180559945309417 |
| #define | DEG2RAD(x) ((x)*0.017453293) |
| #define | RAD2DEG(x) ((x)*57.29578) |
| #define | pcl_lrint(x) ((long int) pcl_round(x)) |
| #define | pcl_lrintf(x) ((long int) pcl_round(x)) |
| #define | pcl_sleep(x) sleep(x) |
| #define | PVAR(s) #s << " = " << (s) << std::flush |
| #define | PVARN(s) #s << " = " << (s) << "\n" |
| #define | PVARC(s) #s << " = " << (s) << ", " << std::flush |
| #define | PVARS(s) #s << " = " << (s) << " " << std::flush |
| #define | PVARA(s) #s << " = " << RAD2DEG(s) << "deg" << std::flush |
| #define | PVARAN(s) #s << " = " << RAD2DEG(s) << "deg\n" |
| #define | PVARAC(s) #s << " = " << RAD2DEG(s) << "deg, " << std::flush |
| #define | PVARAS(s) #s << " = " << RAD2DEG(s) << "deg " << std::flush |
| #define | FIXED(s) std::fixed << s << std::resetiosflags(std::ios_base::fixed) |
| #define | ERASE_STRUCT(var) memset(&var, 0, sizeof(var)) |
| #define | ERASE_ARRAY(var, size) memset(var, 0, size*sizeof(*var)) |
| #define | SET_ARRAY(var, value, size) {for (int i=0; i<(int)size; ++i) var[i]=value;} |
| #define | PCL_EXTERN_C |
| #define | PCL_EXPORTS |
| #define | PCL_CDECL |
| #define | PCL_STDCALL |
| #define | PCLAPI(rettype) PCL_EXTERN_C PCL_EXPORTS rettype PCL_CDECL |
| #define | PCL_DEPRECATED(func) func |
| #define | GLIBC_MALLOC_ALIGNED 0 |
| #define | FREEBSD_MALLOC_ALIGNED 0 |
| #define | MALLOC_ALIGNED 0 |
Functions | |
| __inline double | pcl_round (double number) |
| Win32 doesn't seem to have rounding functions. | |
| __inline float | pcl_round (float number) |
| void * | aligned_malloc (size_t size) |
| void | aligned_free (void *ptr) |
| #define DEG2RAD | ( | x | ) | ((x)*0.017453293) |
Definition at line 134 of file pcl_macros.h.
| #define ERASE_ARRAY | ( | var, | |
| size | |||
| ) | memset(var, 0, size*sizeof(*var)) |
Definition at line 206 of file pcl_macros.h.
| #define ERASE_STRUCT | ( | var | ) | memset(&var, 0, sizeof(var)) |
Definition at line 202 of file pcl_macros.h.
| #define FIXED | ( | s | ) | std::fixed << s << std::resetiosflags(std::ios_base::fixed) |
Definition at line 198 of file pcl_macros.h.
| #define FREEBSD_MALLOC_ALIGNED 0 |
Definition at line 313 of file pcl_macros.h.
| #define GLIBC_MALLOC_ALIGNED 0 |
Definition at line 307 of file pcl_macros.h.
| #define M_E 2.7182818284590452354 |
Definition at line 126 of file pcl_macros.h.
| #define M_LN2 0.693147180559945309417 |
Definition at line 130 of file pcl_macros.h.
| #define M_PI 3.14159265358979323846 |
Definition at line 118 of file pcl_macros.h.
| #define M_PI_4 0.785398163397448309616 |
Definition at line 122 of file pcl_macros.h.
| #define MALLOC_ALIGNED 0 |
Definition at line 319 of file pcl_macros.h.
| #define PCL_CDECL |
Definition at line 261 of file pcl_macros.h.
| #define PCL_DEPRECATED | ( | func | ) | func |
Definition at line 292 of file pcl_macros.h.
| #define PCL_EXPORTS |
Definition at line 254 of file pcl_macros.h.
| #define PCL_EXTERN_C |
Definition at line 243 of file pcl_macros.h.
| #define pcl_isfinite | ( | x | ) | isfinite(x) |
Definition at line 111 of file pcl_macros.h.
| #define pcl_isinf | ( | x | ) | isinf(x) |
Definition at line 112 of file pcl_macros.h.
| #define pcl_isnan | ( | x | ) | isnan(x) |
Definition at line 110 of file pcl_macros.h.
Definition at line 156 of file pcl_macros.h.
| #define pcl_lrintf | ( | x | ) | ((long int) pcl_round(x)) |
Definition at line 157 of file pcl_macros.h.
| #define pcl_sleep | ( | x | ) | sleep(x) |
Definition at line 162 of file pcl_macros.h.
| #define PCL_STDCALL |
Definition at line 262 of file pcl_macros.h.
| #define PCLAPI | ( | rettype | ) | PCL_EXTERN_C PCL_EXPORTS rettype PCL_CDECL |
Definition at line 266 of file pcl_macros.h.
| #define PVAR | ( | s | ) | #s << " = " << (s) << std::flush |
Definition at line 166 of file pcl_macros.h.
Definition at line 182 of file pcl_macros.h.
Definition at line 190 of file pcl_macros.h.
Definition at line 186 of file pcl_macros.h.
Definition at line 194 of file pcl_macros.h.
| #define PVARC | ( | s | ) | #s << " = " << (s) << ", " << std::flush |
Definition at line 174 of file pcl_macros.h.
| #define PVARN | ( | s | ) | #s << " = " << (s) << "\n" |
Definition at line 170 of file pcl_macros.h.
| #define PVARS | ( | s | ) | #s << " = " << (s) << " " << std::flush |
Definition at line 178 of file pcl_macros.h.
| #define RAD2DEG | ( | x | ) | ((x)*57.29578) |
Definition at line 138 of file pcl_macros.h.
| #define SET_ARRAY | ( | var, | |
| value, | |||
| size | |||
| ) | {for (int i=0; i<(int)size; ++i) var[i]=value;} |
Definition at line 210 of file pcl_macros.h.
| void aligned_free | ( | void * | ptr | ) | [inline] |
Definition at line 343 of file pcl_macros.h.
| void* aligned_malloc | ( | size_t | size | ) | [inline] |
Definition at line 323 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 146 of file pcl_macros.h.
| __inline float pcl_round | ( | float | number | ) |
Definition at line 151 of file pcl_macros.h.
1.8.0