<div dir="ltr">Just guessing, I suspect you are adding spheres with each radius change. So when it is getting larger you see it (as new larger spheres are getting added) but when you shrink it does not shrink because there are many spheres accumulating and none are being deleted.<div><br></div><div>Make sure you only have one sphere and actor being added.</div><div><br></div><div>Just a guess </div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 16, 2016 at 8:15 AM, M. Jordan <span dir="ltr"><<a href="mailto:mjordan@live.at" target="_blank">mjordan@live.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-1344842370911145149divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>In render some things in the constructor of my GUI.<br>
<br>
Now I try to add some spheres and update/redraw the radius of the spheres every second.<br>
I have a text file containing the new radius of each sphere and a timer to generate the events.<br>
<br>
When I am changing a radius in the .txt file (while my program is executed) to a higher value, the sphere grows in real time.<br>
But when I <b>decrease</b> the radius, the sphere isn't decreasing. <br>
<br>
I think that my program doesn't update everything.<br>
<span></span></p>
<p><span><br>
</span></p>
<p><span>I use:<br>
<span>ui.qvtkWidget->update();</span></span><br>
<span><span></span></span><br>
</p>
<p>In my timer function everything (expect the renderer and renderwindow) is created each time.<br>
<br>
So I can't figure out whats the problem.<br>
<br>
</p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</div>