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

[PointCloudViewer] Support color pointcloud view #1144

Merged
merged 1 commit into from
May 25, 2017

Conversation

orikuma
Copy link
Contributor

@orikuma orikuma commented May 25, 2017

Currently only support PointXYZRGB and color pointcloud should have rgb field in its PointField

@fkanehiro fkanehiro merged commit b634305 into fkanehiro:master May 25, 2017
Copy link

@y-masutani y-masutani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こんにちは.
PointXYZRGBにはfloat rgbというメンバがありますので(共用体),簡単に,「pcl_cloud->points[i].rgb = src[3]; 」と書けます.
実は,PointCloudViewerを参考にカラー対応のRTCを作っていました.

@orikuma
Copy link
Contributor Author

orikuma commented May 26, 2017

コメントありがとうございます.
c0eea5a で共用体のrgbを使うように変更しました.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants