cell picker tolerance zoom dependence

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

cell picker tolerance zoom dependence

Gary L
I'm trying to set the tolerance of a vtkCellPicker. I would like to
control precisely how many pixels away from a given cell
are sensitive to a pick. According to the documentation the tolerance
is related to the rendering size measured across
the diagonal.  However, I've noticed that the sensitivity of a picker
is also highly dependent on how zoomed away one
is from the object one is picking. If one is zoomed in very close to
the cell, then a larger radius of pixels around
the a cell is sensitive to a pick, though if one is zoomed out away
from the cell, then a smaller radius is sensitive.
Anyone know if there is a way to remove this dependence on the zoom
level? Is there perhaps some formula for
setting the tolerance based on camera position, or perhaps some other
scheme for making pick sensitivity zoom

Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
Reply | Threaded
Open this post in threaded view

Re: cell picker tolerance zoom dependence

Did you find any solution for this problem?