[vtkusers] Problems with vtk*Picker (with testcase)

Thorben Kroeger thorben.kroeger at iwr.uni-heidelberg.de
Fri Feb 11 10:57:04 EST 2011


Hello all,

I'm seeing some weird behavior when using a vtk*Picker (any off 
vtkCellPicker, vtkPointPicker and vtkPropPicker). Sometimes the object 
clearly lying underneath the mouse cursor is not picked.

I attach a 40 line test program (in python, uses QVTKWidget2, tested 
with current git version of VTK) which demonstrates the problem.
On double click, it displays either the picked position or a "did not 
pick anything". Try double-clicking a few times, then rotating a bit, 
then double click on some of the cubes again. It is very easy to trigger 
a "did not pick anything" when really hitting a cube.

Anything that I did wrong on my side, or do I trigger some kind of bug?

Looking forward to your inputs,

Cheers,

Thorben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cubetest.py
Type: text/x-python
Size: 1437 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110211/ac997a39/attachment.py>


More information about the vtkusers mailing list