[vtkusers] Interactive VTK

Denis Shamonin dshamoni at science.uva.nl
Mon Jan 17 05:36:42 EST 2005


Lachlan Blackhall wrote:

>> Good Morning,
>>
>> I have just started looking at VTK and i wondered if it is possible 
>> to interact with a vtk visualisation by clicking on an individual 
>> sphere in the visualisation.
>
Yes, you should read
http://www.vtk.org/doc/nightly/html/classvtkInteractorStyle.html

>> Can vtk generate the event to detect which shape you have clicked on??
>
Yes,
http://www.vtk.org/doc/nightly/html/classvtkPointPicker.html
or
http://www.vtk.org/doc/nightly/html/classvtkCellPicker.html

Also have a look to examples for this classes.

-- 
Denis Shamonin
Section Computational Science
University of Amsterdam
Kruislaan 403, 1098 SJ Amsterdam
The Netherlands

E-mail        : dshamoni at science.uva.nl
URL           : http://staff.science.uva.nl/~dshamoni/

Room number   : F.215
Secr. number  : +31 20 525 7463
Fax number    : +31 20 525 7419
Office number : +31 20 525 7574




More information about the vtkusers mailing list