A structure representing RGB color information. More...
#include <pcl/impl/point_types.hpp>
Public Member Functions | |
RGB (const _RGB &p) | |
RGB () | |
RGB (std::uint8_t _r, std::uint8_t _g, std::uint8_t _b) | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const RGB &p) |
Additional Inherited Members | |
Public Attributes inherited from pcl::_RGB | |
PCL_ADD_RGB | |
A structure representing RGB color information.
The RGBA information is available either as separate r, g, b, or as a packed std::uint32_t rgba value. To pack it, use:
To unpack it use:
Definition at line 395 of file point_types.hpp.
| inline |
Definition at line 397 of file point_types.hpp.
| inline |
Definition at line 402 of file point_types.hpp.
| inline |
Definition at line 404 of file point_types.hpp.
| friend |
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/structpcl_1_1_r_g_b.html