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 67 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. | |
| 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. | |
| 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. | |
| 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. | |
| void | getPointRGBf (const size_t idx, float &r, float &g, float &b) const |
| Get RGBf color of i'th point. | |
| void | setPointRGBf (const size_t idx, const float r, const float g, const float b) |
| Set XYZ_RGBf coordinates of i'th point. | |
| void | getPointRGBu8 (const size_t idx, uint8_t &r, uint8_t &g, uint8_t &b) const |
| Get RGBu8 color of i'th point. | |
| 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. | |
| typedef PointCloudAdapter<POINTMAPTYPE> mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::Derived |
Definition at line 70 of file adapters.h.
|
inline |
Definition at line 72 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 73 of file adapters.h.
|
inline |
Get RGBf color of i'th point.
Definition at line 98 of file adapters.h.
|
inline |
Get RGBu8 color of i'th point.
Definition at line 103 of file adapters.h.
|
inline |
Get XYZ_RGBf coordinates of i'th point.
Definition at line 77 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 88 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 100 of file adapters.h.
|
inline |
Set RGBu8 coordinates of i'th point.
Definition at line 105 of file adapters.h.
|
inline |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 82 of file adapters.h.
References mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived().
|
inline |
Set XYZ_RGBu8 coordinates of i'th point.
Definition at line 93 of file adapters.h.
References mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived().
| Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013 |