Namespaces | |
detail | |
Classes | |
struct | CProfilerProxy |
class | PointCloudAdapter |
An adapter to different kinds of point cloud object. More... | |
Typedefs | |
typedef unsigned long | POINTER_TYPE |
For performing type casting from a pointer to its numeric value. More... | |
typedef uint64_t | TNodeID |
The type for node IDs in graphs of different types. More... | |
typedef std::pair< TNodeID, TNodeID > | TPairNodeIDs |
A pair of node IDs. More... | |
Functions | |
void BASE_IMPEXP | global_profiler_enter (const char *func_name) MRPT_NO_THROWS |
void BASE_IMPEXP | global_profiler_leave (const char *func_name) MRPT_NO_THROWS |
double | DEG2RAD (const double x) |
Degrees to radians. More... | |
float | DEG2RAD (const float x) |
Degrees to radians. More... | |
float | DEG2RAD (const int x) |
Degrees to radians. More... | |
double | RAD2DEG (const double x) |
Radians to degrees. More... | |
float | RAD2DEG (const float x) |
Radians to degrees. More... | |
template<typename T > | |
int | sign (T x) |
Returns the sign of X as "1" or "-1". More... | |
template<typename T > | |
int | signWithZero (T x) |
Returns the sign of X as "0", "1" or "-1". More... | |
template<typename T > | |
T | 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 | min3 (const T &A, const T &B, const T &C) |
template<typename T > | |
const T | max3 (const T &A, const T &B, const T &C) |
template<typename T > | |
int | fix (T x) |
Rounds toward zero. More... | |
template<class T > | |
T | square (const T x) |
Inline function for the square of a number. More... | |
template<class R , class SMART_PTR > | |
R * | getAs (SMART_PTR &o) |
Utility to get a cast'ed pointer from a smart pointer. More... | |
template<class R , class SMART_PTR > | |
const R * | getAs (const SMART_PTR &o) |
Utility to get a cast'ed pointer from a smart pointer. More... | |
template<class T > | |
void | 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 | 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 | 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 | 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 | 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 | vector_strong_clear (VECTOR_T &v) |
Like calling a std::vector<>'s clear() method, but really forcing deallocating the memory. More... | |
|
inline |
Efficient and portable evaluation of the absolute difference of two unsigned integer values (but will also work for signed and floating point types)
Definition at line 101 of file maps/CColouredPointsMap.h.
|
inline |
Degrees to radians.
Definition at line 70 of file maps/CColouredPointsMap.h.
Referenced by mrpt::maps::COccupancyGridMap2D::getVoronoiDiagram(), mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImage(), mrpt::topography::TDatum10Params::TDatum10Params(), mrpt::topography::TDatum7Params::TDatum7Params(), mrpt::topography::TDatumHelmert2D::TDatumHelmert2D(), mrpt::topography::TDatumHelmert3D::TDatumHelmert3D(), and mrpt::topography::TDatumTransfInterpolation::TDatumTransfInterpolation().
|
inline |
Degrees to radians.
Definition at line 72 of file maps/CColouredPointsMap.h.
|
inline |
Degrees to radians.
Definition at line 74 of file maps/CColouredPointsMap.h.
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.
Definition at line 153 of file maps/CColouredPointsMap.h.
Referenced by mrpt::math::KDTreeCapable< Derived, num_t, metric_t >::TKDTreeDataHolder< 3 >::clear(), and mrpt::slam::PF_implementation< mrpt::poses::CPose3D, CMonteCarloLocalization3D >::PF_SLAM_implementation_replaceByNewParticleSet().
|
inline |
Rounds toward zero.
Definition at line 110 of file maps/CColouredPointsMap.h.
|
inline |
Utility to get a cast'ed pointer from a smart pointer.
Definition at line 118 of file maps/CColouredPointsMap.h.
|
inline |
Utility to get a cast'ed pointer from a smart pointer.
Definition at line 122 of file maps/CColouredPointsMap.h.
void BASE_IMPEXP mrpt::mrpt::utils::global_profiler_enter | ( | const char * | func_name | ) |
void BASE_IMPEXP mrpt::mrpt::utils::global_profiler_leave | ( | const char * | func_name | ) |
|
inline |
If the second argument is above the first one, set the first argument to this higher value.
Definition at line 147 of file maps/CColouredPointsMap.h.
Referenced by mrpt::math::MatrixBlockSparseCols< Scalar, NROWS, NCOLS, INFO, HAS_REMAP, INDEX_REMAP_MAP_IMPL >::findCurrentNumberOfRows(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getMaxID(), mrpt::math::maximum(), mrpt::math::minimum_maximum(), mrpt::opengl::COctreePointRenderer< CPointCloudColoured >::octree_recursive_render(), mrpt::graphslam::optimize_graph_spa_levmarq(), mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::render_dl(), and mrpt::opengl::COctreePointRenderer< Derived >::TNode::update_bb().
|
inline |
If the second argument is below the first one, set the first argument to this lower value.
Definition at line 141 of file maps/CColouredPointsMap.h.
Referenced by mrpt::math::minimum(), mrpt::math::minimum_maximum(), mrpt::opengl::COctreePointRenderer< CPointCloudColoured >::octree_recursive_render(), mrpt::opengl::CGeneralizedEllipsoidTemplate< 3 >::render_dl(), and mrpt::opengl::COctreePointRenderer< Derived >::TNode::update_bb().
|
inline |
Definition at line 106 of file maps/CColouredPointsMap.h.
|
inline |
Definition at line 105 of file maps/CColouredPointsMap.h.
|
inline |
Radians to degrees.
Definition at line 76 of file maps/CColouredPointsMap.h.
Referenced by mrpt::opengl::CFrustum::getHorzFOV(), mrpt::opengl::CFrustum::getHorzFOVLeft(), mrpt::opengl::CFrustum::getHorzFOVRight(), mrpt::opengl::CRenderizable::getPosePitch(), mrpt::opengl::CRenderizable::getPoseRoll(), mrpt::opengl::CRenderizable::getPoseYaw(), mrpt::opengl::CFrustum::getVertFOV(), mrpt::opengl::CFrustum::getVertFOVDown(), and mrpt::opengl::CFrustum::getVertFOVUp().
|
inline |
Radians to degrees.
Definition at line 78 of file maps/CColouredPointsMap.h.
|
inline |
Reverse the order of the bytes of a given type (useful for transforming btw little/big endian)
Definition at line 132 of file maps/CColouredPointsMap.h.
|
inline |
Reverse the order of the bytes of a given type (useful for transforming btw little/big endian)
Definition at line 125 of file maps/CColouredPointsMap.h.
Referenced by mrpt::utils::CStream::ReadBufferFixEndianness().
|
inline |
Returns the sign of X as "1" or "-1".
Definition at line 92 of file maps/CColouredPointsMap.h.
Referenced by mrpt::opengl::CAngularObservationMesh::TDoubleRange::amount(), mrpt::opengl::CAngularObservationMesh::TDoubleRange::aperture(), mrpt::opengl::CAngularObservationMesh::TDoubleRange::finalValue(), and mrpt::opengl::CAngularObservationMesh::TDoubleRange::negToPos().
|
inline |
Returns the sign of X as "0", "1" or "-1".
Definition at line 96 of file maps/CColouredPointsMap.h.
|
inline |
Inline function for the square of a number.
Definition at line 114 of file maps/CColouredPointsMap.h.
Referenced by mrpt::poses::CPoseOrPoint< CPoint3D >::distance2DToSquare(), mrpt::poses::CPoseOrPoint< CPoint3D >::distance3DToSquare(), mrpt::maps::COccupancyGridMap2D::getArea(), mrpt::vision::CCamModel::getFullInverseModelWithJacobian(), mrpt::math::CQuaternion< T >::ln_noresize(), mrpt::math::meanAndStd(), mrpt::math::ncc_vector(), mrpt::poses::CPoseOrPoint< CPoint3D >::norm(), mrpt::math::CQuaternion< T >::normSqr(), mrpt::math::CQuaternion< T >::rpy_and_jacobian(), mrpt::math::slerp(), and mrpt::poses::CPoseOrPoint< CPoint3D >::sqrDistanceTo().
|
inline |
Like calling a std::vector<>'s clear() method, but really forcing deallocating the memory.
Definition at line 162 of file maps/CColouredPointsMap.h.
Page generated by Doxygen 1.8.11 for MRPT 1.3.2 SVN:Unversioned directory at Sun May 1 08:45:24 UTC 2016 |