Hi David,<div><br></div><div>Option is selected using radio buttons. <div>eg: When user selects temperature option data should be changed to display temperature values. </div><div>(only the scalar values are changed. Not the x, y, z values of the points)</div>
<div>But when I call
renderWindow->Render() it creates a new window. I want to update data in the same window.</div><div><br></div><div>Thanks.<br><br><div class="gmail_quote">On Tue, Feb 14, 2012 at 6:10 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Feb 14, 2012 at 7:03 AM, Gishara Indeewarie <<a href="mailto:gish.777@gmail.com">gish.777@gmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I have a vtk poly data rendered in an vtk render window. I want to update<br>
> the data in the window every time I select an option.<br>
> I did this by deleting the interactor window every time I update data.<br>
> Is there any other sophisticated method to achieve this?<br>
><br>
> Thanks.<br>
<br>
</div></div>What do you mean by "select an option"? You should be able to do<br>
whatever you want to your polydata, then just call<br>
renderWindow->Render() and everything should refresh.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div></div><font color="#666666">Gish</font><br>
</div></div>