[vtkusers] rendering data while running computations

Dominik Szczerba dominik at itis.ethz.ch
Thu Jul 14 14:58:19 EDT 2011


You need an idle function. Please search the archives.

Dominik

On Thu, Jul 14, 2011 at 2:00 PM, Oldrich Svec <oldrich.svec at gmail.com> wrote:
> Hi,
>
> I run computations and from time to time I would like to display the
> intermediate results (not after a fixed time). In the beginning of the
> simulation, I set up mapper, actor, renderer, renderWindow and
> renderWindowInteractor. During the computation I modify mapper and
> call
>
> renderWindowInteractor.Render()
>
> to update the view. It works but the VTK window is non-responsive
> during the computation time. If I add
>
> renderWindowInteractor.Initialize()
> renderWindowInteractor.Start()
>
> in the beginning of the computations then the computation stops after
> the first render and does not continue. How do I make the VTK window
> responsive and have the computations running without stopping?
>
> Thank you,
> Oldrich
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list