Defines

pcl_macros.h File Reference

#include <iostream>
#include <stdarg.h>
#include <stdio.h>
Include dependency graph for pcl_macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEG2RAD(x)   ((x)*0.017453293)
#define RAD2DEG(x)   ((x)*57.29578)
#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 Documentation

#define DEG2RAD (   x  )     ((x)*0.017453293)

Definition at line 51 of file pcl_macros.h.

#define ERASE_ARRAY (   var,
  size 
)    memset(var, 0, size*sizeof(*var))

Definition at line 99 of file pcl_macros.h.

#define ERASE_STRUCT (   var  )     memset(&var, 0, sizeof(var))

Definition at line 95 of file pcl_macros.h.

#define FIXED (   s  )     std::fixed << s << std::resetiosflags(std::ios_base::fixed)

Definition at line 91 of file pcl_macros.h.

#define PCL_CDECL

Definition at line 154 of file pcl_macros.h.

#define PCL_DEPRECATED (   func  )     func

Definition at line 185 of file pcl_macros.h.

#define PCL_EXPORTS

Definition at line 147 of file pcl_macros.h.

#define PCL_EXTERN_C

Definition at line 136 of file pcl_macros.h.

#define PCL_STDCALL

Definition at line 155 of file pcl_macros.h.

#define PCLAPI (   rettype  )     PCL_EXTERN_C PCL_EXPORTS rettype PCL_CDECL

Definition at line 159 of file pcl_macros.h.

#define PVAR (   s  )     #s << " = " << (s) << std::flush

Definition at line 59 of file pcl_macros.h.

#define PVARA (   s  )     #s << " = " << RAD2DEG(s) << "deg" << std::flush

Definition at line 75 of file pcl_macros.h.

#define PVARAC (   s  )     #s << " = " << RAD2DEG(s) << "deg, " << std::flush

Definition at line 83 of file pcl_macros.h.

#define PVARAN (   s  )     #s << " = " << RAD2DEG(s) << "deg\n"

Definition at line 79 of file pcl_macros.h.

#define PVARAS (   s  )     #s << " = " << RAD2DEG(s) << "deg " << std::flush

Definition at line 87 of file pcl_macros.h.

#define PVARC (   s  )     #s << " = " << (s) << ", " << std::flush

Definition at line 67 of file pcl_macros.h.

#define PVARN (   s  )     #s << " = " << (s) << "\n"

Definition at line 63 of file pcl_macros.h.

#define PVARS (   s  )     #s << " = " << (s) << " " << std::flush

Definition at line 71 of file pcl_macros.h.

#define RAD2DEG (   x  )     ((x)*57.29578)

Definition at line 55 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 103 of file pcl_macros.h.