-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Document the RGBA structure #6128
base: master
Are you sure you want to change the base?
Conversation
Shouldn't it be RGBA all places, since the alpha part is always present? I couldn't find a RGB only struct at least? |
No they are separate, even if they share the same uint32_t storage. pcl::PointXYZRGB != pcl::PointXYZRGBA |
Ahh, but there is only a single pcl::RGB struct - which expose the A channel with default 255 value. There are no pcl::RGBA struct. But indeed there is PointXYZRGB and PointXYZRGBA. I don't see the necessary of having PointXYZRGB, since it still has the same size as PointXYZRGBA - but I don't see us removing it now anyways...? I would vote that the documentation explains this for the pcl::RGB struct though? What do you think @mvieth ? |
Agreed -- removing or renaming point types is not possible any more, but the documentation should say that the alpha value can be stored. |
No description provided.