View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013252VTKBugpublic2012-06-19 22:202016-08-12 09:55
ReporterClinton Stimpson 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.3.0 
Target VersionFixed in Version 
Summary0013252: vtkPicker tolerance inaccurate
DescriptionvtkPicker'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.
Tagshackaton
ProjectTBD
Typeincorrect functionality
Attached Files? file icon testpick.py [^] (1,342 bytes) 2012-06-19 22:20
cpp file icon tester.cpp [^] (1,743 bytes) 2015-10-21 13:30

 Relationships

  Notes
(0029486)
Clinton Stimpson (developer)
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ć (developer)
2015-10-21 13:29

Reproduced with VTK master
(0035372)
Dženan Zukić (developer)
2015-10-21 16:17

I don't have enough time to fix this during this VTK hackathon
(0037283)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2012-06-19 22:20 Clinton Stimpson New Issue
2012-06-19 22:20 Clinton Stimpson File Added: testpick.py
2012-10-23 09:34 Clinton Stimpson Note Added: 0029486
2014-10-01 22:03 Sean McBride Tag Attached: hackaton
2015-10-21 12:55 Dženan Zukić Assigned To => Dženan Zukić
2015-10-21 13:29 Dženan Zukić Note Added: 0035348
2015-10-21 13:29 Dženan Zukić Reproducibility have not tried => always
2015-10-21 13:29 Dženan Zukić Status backlog => active development
2015-10-21 13:29 Dženan Zukić Category (No Category) => Bug
2015-10-21 13:29 Dženan Zukić Product Version 5.8.1 => 6.3.0
2015-10-21 13:30 Dženan Zukić File Added: tester.cpp
2015-10-21 16:17 Dženan Zukić Note Added: 0035372
2015-10-21 16:17 Dženan Zukić Assigned To Dženan Zukić =>
2015-10-21 16:17 Dženan Zukić Status active development => backlog
2016-08-12 09:55 Kitware Robot Note Added: 0037283
2016-08-12 09:55 Kitware Robot Status backlog => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team