[vtkusers] Tk interactor problems with VTK5.2.0

Dr. Carsten Bellon Carsten.Bellon at bam.de
Tue Sep 16 04:45:54 EDT 2008


I'm using vtkTkRenderWidget in my Tcl/Tk GUI. Than I choose the 
trackball bindings by "SetCurrentStyleToTrackballCamera". Additional 
mouse button bindings I define with "AddObserver ...". This works fine 
with VTK 5.0.4 and earlier. But in VTK 5.2 the additional observers for 
"...ButtonReleaseEvent" have no effect! Any help?

For example, I added one line to MaceTk.tcl from Examples/GUI/Tcl of the 
VTK distribution:

duh_renWin_iren AddObserver LeftButtonReleaseEvent {bell}

Using VTK 5.0.4 I can hear the sound, with VTK 5.2.0 not! (With 
LeftBottonPressEvent it works in both VTK versions.)

-- 
Dr.-Ing.         BAM Berlin * VIII.36 * D-12200 Berlin
Carsten Bellon   Tel/Fax: ++49 30 8104-3658 / -1837
                 Carsten.Bellon at bam.de




More information about the vtkusers mailing list