What exactly you want to implement with the callback function?<br><br><div class="gmail_quote">On Sat, Mar 10, 2012 at 5:07 PM, Khan <span dir="ltr">&lt;<a href="mailto:hammadtahirkhan@hotmail.com">hammadtahirkhan@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I have a problem with callback function I have added observer for :<br>
<br>
vtkCommand::LeftButtonPressEvent<br>
vtkCommand::LeftButtonReleaseEvent<br>
vtkCommand::MouseMoveEvent<br>
<br>
if it is once called for *LeftButtonPressEvent* it is not called again<br>
I also *intitialize * and *start * my interactor after<br>
*LeftButtonPressEvent*<br>
if I do not  *intitialize * and *start * my callback function is called<br>
again and again but I can not move my objects in widget.<br>
<br>
kindly help me in this regard.<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/callback-function-is-called-only-once-tp5552795p5552795.html" target="_blank">http://vtk.1045678.n5.nabble.com/callback-function-is-called-only-once-tp5552795p5552795.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>