[vtkusers] Re: problem with vtkRenderWindowInteractor

Goodwin Lawlor goodwin.lawlor at ucd.ie
Wed Oct 26 14:11:00 EDT 2005


yfl at doc.ic.ac.uk wrote:
> Dear Goodwin and all,
> 
> I use vtkRenderWindowInteractor to change the mouse control. My program also 
> uses vtkTkRenderWidget to build scrollbar. However, when I execute it, the 
> program gives me this error:
> 
> Object named: iren, could not find requested method: ConfigureEvent
> or the method was called with incorrect arguments.
> 
> while executing
> "$iren ConfigureEvent"
>   [procedure "::vtk::cb_vtkw_configure_binding" line 4]
>   invoked from within
> "::vtk::cb_vtkw_configure_binding.ren renWin 432 400"
>   [command bound to event]
> 
> Do you know how to solve that problem? please help.

Hi Yee,

If you are using a vtkTkRenderWidget you need to use 
vtkGenericRenderWindowInteractor not vtkRenderWindowInteractor.

See \vtk\examples\gui\tcl\macetk.tcl

Note if you dont add a interactor explicitly, the correct one will be 
automatically added for you (as per example)

hth

Goodwin




More information about the vtkusers mailing list