-
-
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
add ellipsoid shape to pcl_visualizer #4531
add ellipsoid shape to pcl_visualizer #4531
Conversation
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
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.
Thank you for this!
I am not totally sure that the order in which translation and rotation are applied is the order one would expect. Perhaps using Eigen::Isometry3f
instead of translation and rotation would leave less room for interpretation and make it less ambiguous?
According to the documentation,
the vtk's default mode is PreMultiply, so I think its order is common (I mean, vtk will perform rotation and then translation.) (Edit) |
Thanks for pinging me. |
@mvieth
I will check it, thank you! |
I have no idea to resolve this... |
For VTK9 you have to link more specific libraries, as all is not included by default. You'll have to add |
9a4efe9
to
22acc46
Compare
You need to add it here as well. pcl/visualization/CMakeLists.txt Lines 168 to 170 in 7ca2d32
|
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.
The changes LGTM (Though I'm wondering if VTK also has modules which might be non-default on some platforms and we can accidentally break them by adding a dependency in PCL)
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.
Thanks!
@kunaltyagi Regarding the possible VTK dependency problem: not really much we can do about that, right? Just waiting and seeing if someone reports a problem
That's correct. Just pointing out something that stood out to me (apart from the PR, nice work @Yosshi999 ) |
* add ellipsoid shape to pcl_visualizer * more accurate description * addEllipsoid with Isometry3f * use const * support only Isometry3d argument * add a component for ellipsoid * add a link library for ellipsoid
Implemented addEllipsoid
Visualization sample: visualize the voxel grid covariances for Bunny