Point Cloud Library (PCL)
1.13.1-dev
|
A structure representing RGB color information. More...
#include <pcl/impl/point_types.hpp>
Public Member Functions | |
constexpr | RGB (const _RGB &p) |
constexpr | RGB () |
constexpr | RGB (std::uint8_t _r, std::uint8_t _g, std::uint8_t _b, std::uint8_t _a=255) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const RGB &p) |
Additional Inherited Members | |
![]() | |
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 391 of file point_types.hpp.
|
inlineconstexpr |
Definition at line 393 of file point_types.hpp.
|
inlineconstexpr |
Definition at line 395 of file point_types.hpp.
|
inlineconstexpr |
Definition at line 397 of file point_types.hpp.
|
friend |