[vtkusers] vtkInteractorEventRecorder questions

David Doria daviddoria+vtk at gmail.com
Mon Dec 28 10:01:30 EST 2009


I tried to make a couple of examples of recording and playing back events:

http://www.cmake.org/Wiki/VTK/Examples/Interaction/RecordEvents
http://www.cmake.org/Wiki/VTK/Examples/Interaction/PlayBackEvents

In RecordEvents - how do you stop recording? The recorder records all
keystrokes, so 'q' is recorded instead of causing the program to
terminate. Do you have to create a keypress observer and call Stop()
when 'q' is pressed? Maybe we could add an option
recorder->qStops()
so users don't have to deal with setting up the observer (if this is
indeed how this should be done)?

In PlayBackEvents - is there a way to set the speed (slow down) of the
playback? With a short sequence of events the window is gone before I
can really see what is going on.

Thanks,

David



More information about the vtkusers mailing list