Specialization mrpt::utils::PointCloudAdapter<mrpt::maps::CColouredPointsMap> mrpt_adapters_grp.
Definition at line 381 of file CColouredPointsMap.h.
#include <mrpt/maps/CColouredPointsMap.h>
Public Types | |
typedef float | coords_t |
The type of each point XYZ coordinates. More... | |
Public Member Functions | |
PointCloudAdapter (const mrpt::maps::CColouredPointsMap &obj) | |
Constructor (accept a const ref for convenience) More... | |
size_t | size () const |
Get number of points. More... | |
void | resize (const size_t N) |
Set number of points (to uninitialized values) More... | |
template<typename T > | |
void | getPointXYZ (const size_t idx, T &x, T &y, T &z) const |
Get XYZ coordinates of i'th point. More... | |
void | setPointXYZ (const size_t idx, const coords_t x, const coords_t y, const coords_t z) |
Set XYZ coordinates of i'th point. More... | |
template<typename T > | |
void | getPointXYZ_RGBf (const size_t idx, T &x, T &y, T &z, float &r, float &g, float &b) const |
Get XYZ_RGBf coordinates of i'th point. More... | |
void | setPointXYZ_RGBf (const size_t idx, const coords_t x, const coords_t y, const coords_t z, const float r, const float g, const float b) |
Set XYZ_RGBf coordinates of i'th point. More... | |
template<typename T > | |
void | getPointXYZ_RGBu8 (const size_t idx, T &x, T &y, T &z, uint8_t &r, uint8_t &g, uint8_t &b) const |
Get XYZ_RGBu8 coordinates of i'th point. More... | |
void | setPointXYZ_RGBu8 (const size_t idx, const coords_t x, const coords_t y, const coords_t z, const uint8_t r, const uint8_t g, const uint8_t b) |
Set XYZ_RGBu8 coordinates of i'th point. More... | |
void | getPointRGBf (const size_t idx, float &r, float &g, float &b) const |
Get RGBf color of i'th point. More... | |
void | setPointRGBf (const size_t idx, const float r, const float g, const float b) |
Set XYZ_RGBf coordinates of i'th point. More... | |
void | getPointRGBu8 (const size_t idx, uint8_t &r, uint8_t &g, uint8_t &b) const |
Get RGBu8 color of i'th point. More... | |
void | setPointRGBu8 (const size_t idx, const uint8_t r, const uint8_t g, const uint8_t b) |
Set RGBu8 coordinates of i'th point. More... | |
Static Public Attributes | |
static const int | HAS_RGB = 1 |
Has any color RGB info? More... | |
static const int | HAS_RGBf = 1 |
Has native RGB info (as floats)? More... | |
static const int | HAS_RGBu8 = 0 |
Has native RGB info (as uint8_t)? More... | |
Private Attributes | |
mrpt::maps::CColouredPointsMap & | m_obj |
typedef float mrpt::utils::PointCloudAdapter< mrpt::maps::CColouredPointsMap >::coords_t |
The type of each point XYZ coordinates.
Definition at line 388 of file CColouredPointsMap.h.
|
inline |
Constructor (accept a const ref for convenience)
Definition at line 397 of file CColouredPointsMap.h.
|
inline |
Get RGBf color of i'th point.
Definition at line 454 of file CColouredPointsMap.h.
|
inline |
Get RGBu8 color of i'th point.
Definition at line 467 of file CColouredPointsMap.h.
|
inline |
Get XYZ coordinates of i'th point.
Definition at line 407 of file CColouredPointsMap.h.
|
inline |
Get XYZ_RGBf coordinates of i'th point.
Definition at line 420 of file CColouredPointsMap.h.
References mrpt::maps::CColouredPointsMap::getPoint().
|
inline |
Get XYZ_RGBu8 coordinates of i'th point.
Definition at line 435 of file CColouredPointsMap.h.
References mrpt::maps::CColouredPointsMap::getPoint().
|
inline |
Set number of points (to uninitialized values)
Definition at line 404 of file CColouredPointsMap.h.
References mrpt::maps::CColouredPointsMap::resize().
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 460 of file CColouredPointsMap.h.
|
inline |
Set RGBu8 coordinates of i'th point.
Definition at line 477 of file CColouredPointsMap.h.
References mrpt::maps::CColouredPointsMap::setPointColor_fast().
|
inline |
Set XYZ coordinates of i'th point.
Definition at line 412 of file CColouredPointsMap.h.
References mrpt::maps::CColouredPointsMap::setPointFast().
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 426 of file CColouredPointsMap.h.
|
inline |
Set XYZ_RGBu8 coordinates of i'th point.
Definition at line 446 of file CColouredPointsMap.h.
References mrpt::maps::CColouredPointsMap::setPoint().
|
inline |
Get number of points.
Definition at line 402 of file CColouredPointsMap.h.
References mrpt::maps::CPointsMap::size().
|
static |
Has any color RGB info?
Definition at line 390 of file CColouredPointsMap.h.
|
static |
Has native RGB info (as floats)?
Definition at line 392 of file CColouredPointsMap.h.
|
static |
Has native RGB info (as uint8_t)?
Definition at line 394 of file CColouredPointsMap.h.
|
private |
Definition at line 384 of file CColouredPointsMap.h.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |