|
::mrpt::utils::CStream & | mrpt::maps::operator>> (mrpt::utils::CStream &in, CColouredPointsMapPtr &pObj) |
|
std::string BASE_IMPEXP | mrpt::mrpt::format (const char *fmt,...) MRPT_printf_format_check(1 |
| A std::string version of C sprintf. More...
|
|
bool BASE_IMPEXP | mrpt::mrpt::math::isNaN (float v) MRPT_NO_THROWS |
|
bool BASE_IMPEXP | mrpt::mrpt::math::isNaN (double v) MRPT_NO_THROWS |
|
bool BASE_IMPEXP | mrpt::mrpt::math::isFinite (float v) MRPT_NO_THROWS |
|
bool BASE_IMPEXP | mrpt::mrpt::math::isFinite (double v) MRPT_NO_THROWS |
|
template<class MATRIXLIKE > |
size_t | mrpt::mrpt::math::size (const MATRIXLIKE &m, int dim) |
|
void BASE_IMPEXP | mrpt::mrpt::utils::global_profiler_enter (const char *func_name) MRPT_NO_THROWS |
|
void BASE_IMPEXP | mrpt::mrpt::utils::global_profiler_leave (const char *func_name) MRPT_NO_THROWS |
|
double | mrpt::mrpt::utils::DEG2RAD (const double x) |
| Degrees to radians. More...
|
|
float | mrpt::mrpt::utils::DEG2RAD (const float x) |
| Degrees to radians. More...
|
|
float | mrpt::mrpt::utils::DEG2RAD (const int x) |
| Degrees to radians. More...
|
|
double | mrpt::mrpt::utils::RAD2DEG (const double x) |
| Radians to degrees. More...
|
|
float | mrpt::mrpt::utils::RAD2DEG (const float x) |
| Radians to degrees. More...
|
|
template<typename T > |
int | mrpt::mrpt::utils::sign (T x) |
| Returns the sign of X as "1" or "-1". More...
|
|
template<typename T > |
int | mrpt::mrpt::utils::signWithZero (T x) |
| Returns the sign of X as "0", "1" or "-1". More...
|
|
template<typename T > |
T | mrpt::mrpt::utils::abs_diff (const T a, const T b) |
| Efficient and portable evaluation of the absolute difference of two unsigned integer values (but will also work for signed and floating point types) More...
|
|
template<typename T > |
const T | mrpt::mrpt::utils::min3 (const T &A, const T &B, const T &C) |
|
template<typename T > |
const T | mrpt::mrpt::utils::max3 (const T &A, const T &B, const T &C) |
|
template<typename T > |
int | mrpt::mrpt::utils::fix (T x) |
| Rounds toward zero. More...
|
|
template<class T > |
T | mrpt::mrpt::utils::square (const T x) |
| Inline function for the square of a number. More...
|
|
template<class R , class SMART_PTR > |
R * | mrpt::mrpt::utils::getAs (SMART_PTR &o) |
| Utility to get a cast'ed pointer from a smart pointer. More...
|
|
template<class R , class SMART_PTR > |
const R * | mrpt::mrpt::utils::getAs (const SMART_PTR &o) |
| Utility to get a cast'ed pointer from a smart pointer. More...
|
|
template<class T > |
void | mrpt::mrpt::utils::reverseBytesInPlace (T &v_in_out) |
| Reverse the order of the bytes of a given type (useful for transforming btw little/big endian) More...
|
|
template<class T > |
void | mrpt::mrpt::utils::reverseBytes (const T &v_in, T &v_out) |
| Reverse the order of the bytes of a given type (useful for transforming btw little/big endian) More...
|
|
template<typename T , typename K > |
void | mrpt::mrpt::utils::keep_min (T &var, const K test_val) |
| If the second argument is below the first one, set the first argument to this lower value. More...
|
|
template<typename T , typename K > |
void | mrpt::mrpt::utils::keep_max (T &var, const K test_val) |
| If the second argument is above the first one, set the first argument to this higher value. More...
|
|
template<class T > |
void | mrpt::mrpt::utils::delete_safe (T *&ptr) |
| Calls "delete" to free an object only if the pointer is not NULL, then set the pointer to NULL. More...
|
|
template<class VECTOR_T > |
void | mrpt::mrpt::utils::vector_strong_clear (VECTOR_T &v) |
| Like calling a std::vector<>'s clear() method, but really forcing deallocating the memory. More...
|
|