[vtkusers] wkVTKRWI with customized event handling?

Sven Prevrhal sven.prevrhal at radiology.ucsf.edu
Wed Jul 13 15:15:09 EDT 2005


Thanks Charl

That works a lot better now! However, the default callbacks are still being
triggered even though when looking at vtkInteractorStyle::ProcessEvents
source it seems they should not. What's going on?

sven

-----Original Message-----
From: Charl P. Botha [mailto:cpbotha at gmail.com] 
Sent: Wednesday, July 13, 2005 8:31 AM
To: sven.prevrhal at radiology.ucsf.edu
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] wkVTKRWI with customized event handling?

On 7/13/05, Sven Prevrhal <sven.prevrhal at radiology.ucsf.edu> wrote:
> I am using wxvtkRenderWindowInteractor and am trying to catch some 
> events with the AddObserver method to a vtkInteractorStyleSwitch. This 
> does not seem to work properly!

1. Try adding the event directly to the widget, i.e. not the
vtkInteractorStyle.
2. If this doesn't work, upgrade your wxVTKRenderWindowInteractor.  I made
some changes recently that might be relevant to the behaviour that you're
seeing.

Good luck,
Charl

--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

c.p.botha ||at|| ewi.tudelft.nl - tu delft work-related email cpbotha ||at||
cpbotha.net - everything else




More information about the vtkusers mailing list