PointCloudLibrary / PointCloudLibrary/pcl
Point Picking PCLVisualizer - set manually window x,y
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
The PCLVisualizer let us pick a point using the mouse: is it possible to implement a point picking, setting the X,Y coordinates in pixel of the render window instead of using the mouse click event? I've already searched a lot, other people had the same idea but no one could realize it.
I know that the point picking with mouse click is available through VTK https://vtk.org/doc/nightly/html/classvtkPointPicker.html
Can someone suggest how to modify the function in order to set x,y and get the correspondent 3D point?
Your Environment
- Operating System and version: Ubuntu 18.04
- PCL Version: 1.8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing PCLVisualizer's existing mouse-based point-picking path and compare it with VTK's vtkPointPicker documentation. Determine how pixel X,Y coordinates could enter that path and how the corresponding 3D point would be returned. Done means a defined implementation for programmatic pixel-based picking rather than only mouse-click picking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100