-
-
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
Added new color traits in point_types.hpp #4761
base: master
Are you sure you want to change the base?
Conversation
I'm not very sure about the 1.15 as the deprecated version here. If needed, I'd be glad to change it. 😊 pcl/common/include/pcl/impl/point_types.hpp Lines 2437 to 2442 in 1ebd7f5
For CI build on Ubuntu 18.04, the pcl/.ci/azure-pipelines/azure-pipelines.yaml Lines 48 to 53 in 6cc233a
This PR has been built and tested successfully in local env18.04 container with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change the existing use of has_color and friends to has_rgb?
For the deprecation, perhaps putting the struct in a namespace and deprecating only the using has_color = details::has_color;
might do the trick
Thanks for your kind review!
I'd be glad to change the existing use of
I'd move the struct to namespace UPDATE: Still not very sure about how to implement the deprecating only the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor clarification needed
Since has_color family is the same as has_rgb currently, I was wondering if we could remove the test codes of has_color family in |
A follow up work of #4706 (comment) #4706 (comment).
New color traits:
Add deprecated comments for
has_color
.