[vtkusers] picking
de Boer Ingo
I.deBoer at polytec.de
Wed Mar 9 06:16:30 EST 2005
Hi,
maybe this helps:
http://public.kitware.com/pipermail/vtkusers/2004-April/073344.html
greets
Ingo
---
Dr.-Ing. Ingo H. de Boer
Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax : ++49 7243 604 255
-----Original Message-----
Hi,
I am rather new to VTK and I am currently
working on a molecular visualization programm.
I am able to visualize the molecule using spheres
and cylinders, pick spheres (atoms)
in my scene and change their color (or other properties).
Now I would like to get the position of the picked object
in the loop used to create these objects. More precisely,
I would like to get the value of "i" (see the example below)
corresponding to the selected object so that I can use
list[i] (list is a vector and len(list) is its length)
More information about the vtkusers
mailing list