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 48 of file adapters.h.
#include <mrpt/utils/adapters.h>
Public Types | |
typedef PointCloudAdapter< POINTMAPTYPE > | Derived |
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... | |
typedef PointCloudAdapter<POINTMAPTYPE> mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::Derived |
Definition at line 51 of file adapters.h.
|
inline |
Definition at line 53 of file adapters.h.
Referenced by mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::getPointXYZ_RGBf(), mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::getPointXYZ_RGBu8(), mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::setPointXYZ_RGBf(), and mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::setPointXYZ_RGBu8().
|
inline |
Definition at line 54 of file adapters.h.
|
inline |
Get RGBf color of i'th point.
Definition at line 81 of file adapters.h.
References MRPT_UNUSED_PARAM.
|
inline |
Get RGBu8 color of i'th point.
Definition at line 91 of file adapters.h.
References MRPT_UNUSED_PARAM.
|
inline |
Get XYZ_RGBf coordinates of i'th point.
Definition at line 58 of file adapters.h.
References mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived().
|
inline |
Get XYZ_RGBu8 coordinates of i'th point.
Definition at line 70 of file adapters.h.
References mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived().
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 86 of file adapters.h.
References MRPT_UNUSED_PARAM.
|
inline |
Set RGBu8 coordinates of i'th point.
Definition at line 96 of file adapters.h.
References MRPT_UNUSED_PARAM.
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 63 of file adapters.h.
References mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived(), and MRPT_UNUSED_PARAM.
|
inline |
Set XYZ_RGBu8 coordinates of i'th point.
Definition at line 75 of file adapters.h.
References mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived(), and MRPT_UNUSED_PARAM.
Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019 |