Point Cloud Library (PCL)
1.14.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) |
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 362 of file point_types.hpp.
|
inlineconstexpr |
Definition at line 364 of file point_types.hpp.
|
inlineconstexpr |
Definition at line 366 of file point_types.hpp.
|
inlineconstexpr |
Definition at line 368 of file point_types.hpp.
|
friend |