I tried to make a little demo of using a callback by gathering bits from some of the tests.<br><br><a href="http://www.rpi.edu/%7Edoriad/VTK_List/Callbacks/" target="_blank">http://www.rpi.edu/~doriad/VTK_List/Callbacks/</a><br>
<br>The documentation says that the left mouse button of vtkInteractorStyleRubberBand2D should trigger a SelectionChangedEvent. In this example, I'd expect when I used the rubber band I would see the output message "Callback!", but I don't see anything.<br>
<br>I tried attaching the observer to the renderer, render window, and render window interactor. None of them seem to trigger the callback.<br><br>Can anyone see where I've gone wrong? Is there any kind of tutorial on VTK callbacks/events anywhere? Google didn't seem to know of one.<br>
<br clear="all">
Thanks,<br><br>David<br>