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-&gt;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">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</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 &lt;<a href="mailto:gish.777@gmail.com">gish.777@gmail.com</a>&gt; wrote:<br>

&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I have a vtk poly data rendered in an vtk render window. I want to update<br>
&gt; the data in the window every time I select an option.<br>
&gt; I did this by deleting the interactor window every time I update data.<br>
&gt; Is there any other sophisticated method to achieve this?<br>
&gt;<br>
&gt; Thanks.<br>
<br>
</div></div>What do you mean by &quot;select an option&quot;? You should be able to do<br>
whatever you want to your polydata, then just call<br>
renderWindow-&gt;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>