[vtkusers] Update VTK Poly data in vtkRenderWindow
David Doria
daviddoria at gmail.com
Tue Feb 14 07:40:13 EST 2012
On Tue, Feb 14, 2012 at 7:03 AM, Gishara Indeewarie <gish.777 at gmail.com> wrote:
>
> Hi all,
>
> I have a vtk poly data rendered in an vtk render window. I want to update
> the data in the window every time I select an option.
> I did this by deleting the interactor window every time I update data.
> Is there any other sophisticated method to achieve this?
>
> Thanks.
What do you mean by "select an option"? You should be able to do
whatever you want to your polydata, then just call
renderWindow->Render() and everything should refresh.
David
More information about the vtkusers
mailing list