[vtkusers] Release button event doesn't
al.gry
al.gry at web.de
Wed Aug 3 06:11:26 EDT 2011
Hi all,
i'm implementing qt vtk application. The goal is to adjust window level
using mouse
ObserverWindowLevel *observeWindowLevel =
ObserverWindowLevel::New(m_pQVTKIren);
m_pQVTKIren->AddObserver(vtkCommand::RightButtonPressEvent,
observeWindowLevel);
m_pQVTKIren->AddObserver(vtkCommand::RightButtonReleaseEvent,
observeWindowLevel);
observeWindowLevel->Delete();
when i'm trying to catch vtkCommand::RightButtonReleaseEvent in my
Execute(vtkObject *caller, unsigned long eventId, void *callData) nothing
happens. It works perfectly for RightButtonPressEvent but for some reason
RightButtonReleaseEvent is not passed to Execute(...)
Any ideas?
-Al
--
View this message in context: http://vtk.1045678.n5.nabble.com/Release-button-event-doesn-t-tp4661878p4661878.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list