[vtkusers] how to update a renderwindow everytime when I change the actor's data by some keypress operations?

David Doria daviddoria at gmail.com
Wed Dec 7 08:44:22 EST 2011


2011/12/7 老猫 <872996403 at qq.com>:
> Hello, everyone.
>
> I have several actors in a renderwindow.I want to change one actor's
> coordinate by press some keys. I rewrite a interactorstyle, it can catch my
> orperation and change the actor's coordinate.By the way,the actor is a set
> of points.
>
> But how can I show the change in the window without creating a new window
> .When I press a key,the actor changes its position.At the same time,when
> some changes happen, I don't want to change the visual angle which I
> adjusted last time.
>
> Thank you!Best wishes!

I think you just need to call renderWindow->Render() ?

David



More information about the vtkusers mailing list