Point Cloud Library (PCL)
1.10.1
|
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstdint>
#include <iostream>
#include <boost/cstdint.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <Eigen/Core>
#include <pcl/pcl_config.h>
Go to the source code of this file.
Defines all the PCL and non-PCL macros used.
Definition in file pcl_macros.h.
Namespaces | |
pcl | |
This file defines compatibility wrappers for low level I/O functions. | |
Macros | |
#define | _USE_MATH_DEFINES |
#define | PCL_DEPRECATED(message) |
#define | DEG2RAD(x) ((x)*0.017453293) |
#define | RAD2DEG(x) ((x)*57.29578) |
#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. More... | |
#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 | 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 (decltype(size) i = 0; i < 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_PRAGMA |
#define | PCL_PRAGMA_WARNING |
#define | __has_extension(x) 0 |
#define | GLIBC_MALLOC_ALIGNED 0 |
#define | FREEBSD_MALLOC_ALIGNED 0 |
#define | PCL_MAKE_ALIGNED_OPERATOR_NEW |
Macro to signal a class requires a custom allocator. More... | |
#define | PCL_FALLTHROUGH |
Macro to add a no-op or a fallthrough attribute based on compiler feature. More... | |
#define | PCL_NODISCARD |
Typedefs | |
template<typename T > | |
using | pcl::shared_ptr = boost::shared_ptr< T > |
Alias for boost::shared_ptr. More... | |
Functions | |
template<typename T > | |
bool | pcl_isnan (T &&x) |
template<typename T > | |
bool | pcl_isfinite (T &&x) |
template<typename T > | |
bool | pcl_isinf (T &&x) |
__inline double | pcl_round (double number) |
Win32 doesn't seem to have rounding functions. More... | |
__inline float | pcl_round (float number) |
void * | aligned_malloc (std::size_t size) |
void | aligned_free (void *ptr) |
#define __has_extension | ( | x | ) | 0 |
Definition at line 306 of file pcl_macros.h.
#define _USE_MATH_DEFINES |
Definition at line 59 of file pcl_macros.h.
#define DEG2RAD | ( | x | ) | ((x)*0.017453293) |
Definition at line 168 of file pcl_macros.h.
#define ERASE_ARRAY | ( | var, | |
size | |||
) | memset(var, 0, size*sizeof(*var)) |
Definition at line 249 of file pcl_macros.h.
#define ERASE_STRUCT | ( | var | ) | memset(&var, 0, sizeof(var)) |
Definition at line 245 of file pcl_macros.h.
#define FIXED | ( | s | ) | std::fixed << s << std::resetiosflags(std::ios_base::fixed) |
Definition at line 241 of file pcl_macros.h.
#define FREEBSD_MALLOC_ALIGNED 0 |
Definition at line 326 of file pcl_macros.h.
#define GLIBC_MALLOC_ALIGNED 0 |
Definition at line 320 of file pcl_macros.h.
#define PCL_CDECL |
Definition at line 278 of file pcl_macros.h.
#define PCL_DEPRECATED | ( | message | ) |
Definition at line 94 of file pcl_macros.h.
#define PCL_EXPORTS |
Definition at line 271 of file pcl_macros.h.
#define PCL_EXTERN_C |
Definition at line 260 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 177 of file pcl_macros.h.
#define pcl_lrint | ( | x | ) | (static_cast<long int>(pcl_round(x))) |
Definition at line 198 of file pcl_macros.h.
#define pcl_lrintf | ( | x | ) | (static_cast<long int>(pcl_round(x))) |
Definition at line 199 of file pcl_macros.h.
#define PCL_NODISCARD |
Definition at line 415 of file pcl_macros.h.
#define PCL_PRAGMA |
Definition at line 292 of file pcl_macros.h.
#define PCL_PRAGMA_WARNING |
Definition at line 301 of file pcl_macros.h.
#define pcl_sleep | ( | x | ) | sleep(x) |
Definition at line 205 of file pcl_macros.h.
#define PCL_STDCALL |
Definition at line 279 of file pcl_macros.h.
#define PCLAPI | ( | rettype | ) | PCL_EXTERN_C PCL_EXPORTS rettype PCL_CDECL |
Definition at line 283 of file pcl_macros.h.
#define PVAR | ( | s | ) | #s << " = " << (s) << std::flush |
Definition at line 209 of file pcl_macros.h.
#define PVARA | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg" << std::flush |
Definition at line 225 of file pcl_macros.h.
#define PVARAC | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg, " << std::flush |
Definition at line 233 of file pcl_macros.h.
#define PVARAN | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg\n" |
Definition at line 229 of file pcl_macros.h.
#define PVARAS | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg " << std::flush |
Definition at line 237 of file pcl_macros.h.
#define PVARC | ( | s | ) | #s << " = " << (s) << ", " << std::flush |
Definition at line 217 of file pcl_macros.h.
#define PVARN | ( | s | ) | #s << " = " << (s) << "\n" |
Definition at line 213 of file pcl_macros.h.
#define PVARS | ( | s | ) | #s << " = " << (s) << " " << std::flush |
Definition at line 221 of file pcl_macros.h.
#define RAD2DEG | ( | x | ) | ((x)*57.29578) |
Definition at line 172 of file pcl_macros.h.
#define SET_ARRAY | ( | var, | |
value, | |||
size | |||
) | { for (decltype(size) i = 0; i < size; ++i) var[i]=value; } |
Definition at line 253 of file pcl_macros.h.
|
inline |
Definition at line 365 of file pcl_macros.h.
Referenced by pcl::EnergyMaps::releaseAll(), and pcl::LinearizedMaps::releaseAll().
|
inline |
Definition at line 343 of file pcl_macros.h.
Referenced by pcl::EnergyMaps::initialize(), and pcl::LinearizedMaps::initialize().
bool pcl_isfinite | ( | T && | x | ) |
Definition at line 160 of file pcl_macros.h.
bool pcl_isinf | ( | T && | x | ) |
Definition at line 164 of file pcl_macros.h.
bool pcl_isnan | ( | T && | x | ) |
Definition at line 156 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 184 of file pcl_macros.h.
Referenced by pcl::ESFEstimation< PointInT, PointOutT >::computeESF(), pcl::VFHEstimation< PointInT, PointNT, PointOutT >::computePointSPFHSignature(), pcl::face_detection::FeatureHandlerDepthAverage< FT, DataSet, ExampleIndex >::evaluateFeature(), and pcl::OrganizedNeighborSearch< PointT >::pointPlaneProjection().
__inline float pcl_round | ( | float | number | ) |
Definition at line 189 of file pcl_macros.h.