A helper base class for those PointCloudAdapter<> which do not handle RGB data; it declares needed interface methods which fall back to XYZ-only methods.
Definition at line 49 of file pointcloud_adapters.h.
#include <mrpt/opengl/pointcloud_adapters.h>
Public Types | |
using | Derived = PointCloudAdapter< POINTMAPTYPE > |
Public Member Functions | |
Derived & | derived () |
const Derived & | derived () const |
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... | |
using mrpt::opengl::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::Derived = PointCloudAdapter<POINTMAPTYPE> |
Definition at line 52 of file pointcloud_adapters.h.
|
inline |
Definition at line 54 of file pointcloud_adapters.h.
Referenced by mrpt::opengl::detail::PointCloudAdapterHelperNoRGB< pcl::PointCloud< pcl::PointXYZ >, float >::getPointXYZ_RGBf(), mrpt::opengl::detail::PointCloudAdapterHelperNoRGB< pcl::PointCloud< pcl::PointXYZ >, float >::getPointXYZ_RGBu8(), mrpt::opengl::detail::PointCloudAdapterHelperNoRGB< pcl::PointCloud< pcl::PointXYZ >, float >::setPointXYZ_RGBf(), and mrpt::opengl::detail::PointCloudAdapterHelperNoRGB< pcl::PointCloud< pcl::PointXYZ >, float >::setPointXYZ_RGBu8().
|
inline |
Definition at line 55 of file pointcloud_adapters.h.
|
inline |
Get RGBf color of i'th point.
Definition at line 100 of file pointcloud_adapters.h.
|
inline |
Get RGBu8 color of i'th point.
Definition at line 117 of file pointcloud_adapters.h.
|
inline |
Get XYZ_RGBf coordinates of i'th point.
Definition at line 62 of file pointcloud_adapters.h.
|
inline |
Get XYZ_RGBu8 coordinates of i'th point.
Definition at line 81 of file pointcloud_adapters.h.
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 107 of file pointcloud_adapters.h.
|
inline |
Set RGBu8 coordinates of i'th point.
Definition at line 124 of file pointcloud_adapters.h.
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 69 of file pointcloud_adapters.h.
|
inline |
Set XYZ_RGBu8 coordinates of i'th point.
Definition at line 89 of file pointcloud_adapters.h.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |