#include <iostream>
Go to the source code of this file.
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 | 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<(int)size; ++i) var[i]=value;} |
#define DEG2RAD | ( | x | ) | ((x)*0.017453293) |
Definition at line 45 of file pcl_macros.h.
#define ERASE_ARRAY | ( | var, | |||
size | ) | memset(var, 0, size*sizeof(*var)) |
Definition at line 93 of file pcl_macros.h.
#define ERASE_STRUCT | ( | var | ) | memset(&var, 0, sizeof(var)) |
Definition at line 89 of file pcl_macros.h.
#define FIXED | ( | s | ) | std::fixed << s << std::resetiosflags(std::ios_base::fixed) |
Definition at line 85 of file pcl_macros.h.
#define PVAR | ( | s | ) | #s << " = " << (s) << std::flush |
Definition at line 53 of file pcl_macros.h.
#define PVARA | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg" << std::flush |
Definition at line 69 of file pcl_macros.h.
#define PVARAC | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg, " << std::flush |
Definition at line 77 of file pcl_macros.h.
#define PVARAN | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg\n" |
Definition at line 73 of file pcl_macros.h.
#define PVARAS | ( | s | ) | #s << " = " << RAD2DEG(s) << "deg " << std::flush |
Definition at line 81 of file pcl_macros.h.
#define PVARC | ( | s | ) | #s << " = " << (s) << ", " << std::flush |
Definition at line 61 of file pcl_macros.h.
#define PVARN | ( | s | ) | #s << " = " << (s) << "\n" |
Definition at line 57 of file pcl_macros.h.
#define PVARS | ( | s | ) | #s << " = " << (s) << " " << std::flush |
Definition at line 65 of file pcl_macros.h.
#define RAD2DEG | ( | x | ) | ((x)*57.29578) |
Definition at line 49 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 97 of file pcl_macros.h.