A point structure representing Euclidean xyz coordinates, and the RGBA color. More...
#include <pcl/impl/point_types.hpp>
Public Member Functions | |
PointXYZRGBA (const _PointXYZRGBA &p) | |
PointXYZRGBA () | |
PointXYZRGBA (std::uint8_t _r, std::uint8_t _g, std::uint8_t _b, std::uint8_t _a) | |
PointXYZRGBA (float _x, float _y, float _z) | |
PointXYZRGBA (float _x, float _y, float _z, std::uint8_t _r, std::uint8_t _g, std::uint8_t _b, std::uint8_t _a) | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const PointXYZRGBA &p) |
Additional Inherited Members | |
Public Attributes inherited from pcl::_PointXYZRGBA | |
PCL_ADD_POINT4D | |
PCL_ADD_RGB | |
A point structure representing Euclidean xyz coordinates, and the RGBA color.
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 603 of file point_types.hpp.
| inline |
Definition at line 605 of file point_types.hpp.
| inline |
Definition at line 611 of file point_types.hpp.
| inline |
Definition at line 613 of file point_types.hpp.
| inline |
Definition at line 616 of file point_types.hpp.
| inline |
Definition at line 619 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_point_x_y_z_r_g_b_a.html