[vtkusers] vtkEventQtSlotConnect and ReleaseEvent

Nicolas Sarrasin nsarrasin at phenix-systems.com
Wed Sep 22 12:24:48 EDT 2010


  Hi all,

Can someone explain me why I can't get the LeftButtonReleaseEvent here :

*********
_VtkConnections = VSM(vtkEventQtSlotConnect)::New();

_VtkConnections->Connect(_VtkScene->GetRenderWindow()->GetInteractor(),
         vtkCommand::MouseMoveEvent,
         this,
         SLOT(MySlot1()) );    //OK

_VtkConnections->Connect(_VtkScene->GetRenderWindow()->GetInteractor(),
         vtkCommand::LeftButtonPressEvent,
         this,
         SLOT(MySlot2()) );    //KO
*********

 From where does this problem come ?

Thanks by advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100922/ad418107/attachment.htm>


More information about the vtkusers mailing list