[vtkusers] How to force update

Malcolm Drummond malcolm at geovision.co.za
Sun Jul 29 10:40:41 EDT 2001


Hi Gavin

Call Render() on the RenderWindow

Malcolm

----- Original Message -----
From: Gavin Tabor <G.R.Tabor at exeter.ac.uk>
To: VTK mailing list <vtkusers at public.kitware.com>
Sent: Friday, July 27, 2001 4:27 PM
Subject: [vtkusers] How to force update


> Dear All,
>
> I'm using vtkQgl to interface Qt and Vtk for a postprocessing tool.
> I'm creating an isosurface in response to a Qt event, so I create
> an actor for the mapper, add it to the vtkRenderer, and then call
> Render() on the renderer. However when I do this, nothing happens
> until I interact with the Vtk window. IE I click on the Qt button
> (a checkbox) and nothing happens : then when I rotate the Vtk object
> using the mouse, the isosurface appears.
>
> How do I force Vtk to update? I want the constructed isosurface to
> appear in response to the Qt event. What am I doing wrong?
>
> Gavin
>
> --
>
> Dr. Gavin Tabor
> School of Engineering and Computer Science
> Department of Engineering
> University of Exeter
>
> _______________________________________________
> 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