[vtkusers] callback function is called only once

Khan hammadtahirkhan at hotmail.com
Sat Mar 10 06:37:59 EST 2012


Hi,
I have a problem with callback function I have added observer for :

vtkCommand::LeftButtonPressEvent
vtkCommand::LeftButtonReleaseEvent
vtkCommand::MouseMoveEvent

if it is once called for *LeftButtonPressEvent* it is not called again 
I also *intitialize * and *start * my interactor after
*LeftButtonPressEvent*
if I do not  *intitialize * and *start * my callback function is called
again and again but I can not move my objects in widget.

kindly help me in this regard.

--
View this message in context: http://vtk.1045678.n5.nabble.com/callback-function-is-called-only-once-tp5552795p5552795.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list