AW: [vtkusers] Updating vtkRenderWindow asynchonously

Stefan Bruckner stefan.bruckner at chello.at
Sun Dec 1 18:15:09 EST 2002


Well, that's my problem. I use VTK within in a Qt-GUI application.
Performing rendering from within a seperate thread causes xlib errors,
because Qt's GUI thread also tries to access the xserver. There is a way
to lock the Qt library, which gets rid of these errors, however, I want
the GUI to remain responsive ...

I thought maybe an asynchronous render command implemented within VTK
would enable me to work around the problem.

-----Ursprüngliche Nachricht-----
Von: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com] Im Auftrag von John
Biddiscombe
Gesendet: Sonntag, 01. Dezember 2002 19:15
An: Stefan Bruckner; VTK mailing list
Betreff: Re: [vtkusers] Updating vtkRenderWindow asynchonously


Only if you perform the render in a seperate thread.

JB

----- Original Message -----
From: "Stefan Bruckner" <stefan.bruckner at chello.at>
To: "VTK mailing list" <vtkusers at public.kitware.com>
Sent: Sunday, December 01, 2002 3:21 AM
Subject: [vtkusers] Updating vtkRenderWindow asynchonously


> Hi!
>
> Is there a simple way to render a vtkRenderWindow asynchronously? I
> mean a method like Render() that immediatly returns and causes the 
> window to update.
>
> Thanks,
> Stefan Bruckner
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list