MRPT
2.0.1
|
Specialization mrpt::opengl::PointCloudAdapter<mrpt::maps::CPointsMapXYZI> mrpt_adapters_grp.
Definition at line 282 of file CPointsMapXYZI.h.
#include <mrpt/maps/CPointsMapXYZI.h>
Public Types | |
using | coords_t = float |
The type of each point XYZ coordinates. More... | |
Public Member Functions | |
PointCloudAdapter (const mrpt::maps::CPointsMapXYZI &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... | |
void | setDimensions (size_t height, size_t width) |
Does nothing as of now. 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_RGBAf (const size_t idx, T &x, T &y, T &z, float &r, float &g, float &b, float &a) const |
Get XYZ_RGBf coordinates of i'th point. More... | |
void | setPointXYZ_RGBAf (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, [[maybe_unused]] const float a) |
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 constexpr bool | HAS_RGB = true |
Has any color RGB info? More... | |
static constexpr bool | HAS_RGBf = true |
Has native RGB info (as floats)? More... | |
static constexpr bool | HAS_RGBu8 = false |
Has native RGB info (as uint8_t)? More... | |
Private Attributes | |
mrpt::maps::CPointsMapXYZI & | m_obj |
using mrpt::opengl::PointCloudAdapter< mrpt::maps::CPointsMapXYZI >::coords_t = float |
The type of each point XYZ coordinates.
Definition at line 289 of file CPointsMapXYZI.h.
|
inline |
Constructor (accept a const ref for convenience)
Definition at line 298 of file CPointsMapXYZI.h.
|
inline |
Get RGBf color of i'th point.
Definition at line 358 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::getPointIntensity_fast().
|
inline |
Get RGBu8 color of i'th point.
Definition at line 371 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::getPointIntensity_fast().
|
inline |
Get XYZ coordinates of i'th point.
Definition at line 310 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMap::getPointFast().
|
inline |
Get XYZ_RGBf coordinates of i'th point.
Definition at line 323 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::getPointRGB().
|
inline |
Get XYZ_RGBu8 coordinates of i'th point.
Definition at line 341 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMap::getPoint().
|
inline |
Set number of points (to uninitialized values)
Definition at line 305 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::resize().
|
inline |
Does nothing as of now.
Definition at line 307 of file CPointsMapXYZI.h.
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 364 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::setPointColor_fast().
|
inline |
Set RGBu8 coordinates of i'th point.
Definition at line 378 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::setPointColor_fast().
|
inline |
Set XYZ coordinates of i'th point.
Definition at line 315 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMap::setPointFast().
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 331 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::setPointRGB().
|
inline |
Set XYZ_RGBu8 coordinates of i'th point.
Definition at line 350 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMapXYZI::setPointRGB().
|
inline |
Get number of points.
Definition at line 303 of file CPointsMapXYZI.h.
References mrpt::maps::CPointsMap::size().
|
static |
Has any color RGB info?
Definition at line 291 of file CPointsMapXYZI.h.
|
static |
Has native RGB info (as floats)?
Definition at line 293 of file CPointsMapXYZI.h.
|
static |
Has native RGB info (as uint8_t)?
Definition at line 295 of file CPointsMapXYZI.h.
|
private |
Definition at line 285 of file CPointsMapXYZI.h.
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |