[vtkusers] 回复: how to update a renderwindow everytime when I changethe actor's data by some keypress operations?
老猫
872996403 at qq.com
Wed Dec 7 19:37:53 EST 2011
Thank you.I thought the problem is comlicated.So I thought it might need filter.I have solved this problem yesterday.I was stupid at that time!
But there is another problem. I can't find a transform function of an actor.I can rotate it, but I want to transform it by pressing the keybord.Could you please give me some ideas? Thank you very much.
------------------ 原始邮件 ------------------
发件人: "David Doria";
发送时间: 2011年12月7日(星期三) 晚上9:44
收件人: "老猫"<872996403 at qq.com>;
抄送: "vtkusers";
主题: Re: [vtkusers] how to update a renderwindow everytime when I changethe actor's data by some keypress operations?
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111208/c9587cc0/attachment.htm>
More information about the vtkusers
mailing list