[vtkusers] Custom Event

David Doria daviddoria at gmail.com
Thu Jul 5 11:23:13 EDT 2012


On Thu, Jul 5, 2012 at 11:11 AM, Jack Leigh <leighman at gmx.se> wrote:

> Dear all,
>
> I am creating a system to display 4D measurements which will be received
> at random intervals.
> Please could you advise on the best way to approach this.
> I want to update the render window as these new points are received.
> It looks like I need to set up a custom event for vtkCommand then set up a
> callback to trigger on that event. Is that correct?
> How would I then fire the custom event? Do I need to do so from a
> different thread or something? I can't find an Invoke(event) or whatever on
> the WindowInteractor.
>

Does this help?

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/UserEvent

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120705/5498b80a/attachment.htm>


More information about the vtkusers mailing list