Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PointXYZRGBL label field is now default constructed to 0 #2462

Merged
merged 1 commit into from
Sep 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/include/pcl/impl/point_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ namespace pcl

PCL_EXPORTS std::ostream& operator << (std::ostream& os, const Intensity32u& p);
/** \brief A point structure representing the grayscale intensity in single-channel images.
* Intensity is represented as a uint8_t value.
* Intensity is represented as a uint32_t value.
* \ingroup common
*/
struct Intensity32u: public _Intensity32u
Expand Down Expand Up @@ -662,7 +662,7 @@ namespace pcl
data[3] = 1.0f;
r = g = b = 0;
a = 255;
label = 255;
label = 0;
}
inline PointXYZRGBL (uint8_t _r, uint8_t _g, uint8_t _b, uint32_t _label)
{
Expand Down