[vtkusers] Interactor troubles when picking, with Tkinter

Viksit Gaur vik.list.vtk at gmail.com
Fri May 19 23:40:13 EDT 2006


Hi all,

I'm using Tkinter and the vtkTkRenderWidget to render an application. 
The application renders 3d glyphs using point data.

When trying to implement picking, I'm not sure how to get the 
RenderWindowInteractor class working with Tk. There seem to be 2 
versions, a vtkRenderWindowInteractor and a vtkTkRenderWindowInteractor 
- might anyone provide a link or example to this?

Because when I use vtkTkRenderWindowInteractor to create a new render 
window, I can pick to some extent (I can see the main actor highlighted 
with a cube). If I use a normal vtkTkRenderWidget to render the window, 
and then create an interactor of type vtkTkRenderWindowInteractor - I 
can't pick at all.

Could anyone shed some light on what I'm doing wrong?

Cheers,
Viksit


-- 
Viksit Gaur
Social Robotics Lab, Dept of Computer Science
Yale University
http://gundam.cs.yale.edu
http://viksit.com



More information about the vtkusers mailing list