MantisBT - VTK
View Issue Details
0013252VTKBugpublic2012-06-19 22:202016-08-12 09:55
Clinton Stimpson 
Kitware Robot 
normalminoralways
closedmoved 
6.3.0 
 
TBD
incorrect functionality
0013252: vtkPicker tolerance inaccurate
vtkPicker's tolerance isn't really a fraction of the window size.
A specified 1% screen tolerance in some cases can actually result in a 50% screen tolerance which makes it very inaccurate and unusable. This occurs more frequently when trying to pick small features on a large dataset.

See attached script for an example.
The camera position and the geometry (approximately unit sized) remain fixed relative to each other. The script adjusts the focal point to be near and far and demonstrates the incorrect scaling of the pick tolerance.

I think its a flaw for vtkPicker to assume it can scale the tolerance once and apply that scale through all datasets in the session. There's also the possible issue of one dataset with a large span in the camera's Z direction, where the tolerance at one end shouldn't be the same as the tolerance at the other end.

This is probably not an issue with parallel projection.
hackaton
? testpick.py (1,342) 2012-06-19 22:20
https://www.vtk.org/Bug/file/9215/testpick.py
cpp tester.cpp (1,743) 2015-10-21 13:30
https://www.vtk.org/Bug/file/9938/tester.cpp
Issue History
2012-06-19 22:20Clinton StimpsonNew Issue
2012-06-19 22:20Clinton StimpsonFile Added: testpick.py
2012-10-23 09:34Clinton StimpsonNote Added: 0029486
2014-10-01 22:03Sean McBrideTag Attached: hackaton
2015-10-21 12:55Dženan ZukićAssigned To => Dženan Zukić
2015-10-21 13:29Dženan ZukićNote Added: 0035348
2015-10-21 13:29Dženan ZukićReproducibilityhave not tried => always
2015-10-21 13:29Dženan ZukićStatusbacklog => active development
2015-10-21 13:29Dženan ZukićCategory(No Category) => Bug
2015-10-21 13:29Dženan ZukićProduct Version5.8.1 => 6.3.0
2015-10-21 13:30Dženan ZukićFile Added: tester.cpp
2015-10-21 16:17Dženan ZukićNote Added: 0035372
2015-10-21 16:17Dženan ZukićAssigned ToDženan Zukić =>
2015-10-21 16:17Dženan ZukićStatusactive development => backlog
2016-08-12 09:55Kitware RobotNote Added: 0037283
2016-08-12 09:55Kitware RobotStatusbacklog => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0029486)
Clinton Stimpson   
2012-10-23 09:34   
I'm a bit surprised at the response I'm getting with this bug. Nothing from the vtk-developers list, and nothing here in Mantis.

There's a flaw in how the tolerance is computed and used. I'm not sure how to fix it myself, other than to stop using vtk[Cell]Picker and use some code I've written myself.
(0035348)
Dženan Zukić   
2015-10-21 13:29   
Reproduced with VTK master
(0035372)
Dženan Zukić   
2015-10-21 16:17   
I don't have enough time to fix this during this VTK hackathon
(0037283)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.