<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Found the solution:<br><br>On MouseButtonPress event of the slider (I use QT), I do the following:<br><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">GetInteractor()-&gt;SetStillUpdateRate(15.0);</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">GetInteractor()-&gt;InvokeEvent(vtkCommand::LeftButtonPressEvent, NULL);</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">GetInteractor()-&gt;InvokeEvent(vtkCommand::LeftButtonReleaseEvent, NULL);</span><br><br>and on MouseButtonRelease I restore the still update rate:<br><br><span style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;">GetInteractor()-&gt;SetStillUpdateRate(0.0001);</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">
GetInteractor()-&gt;InvokeEvent(vtkCommand::LeftButtonPressEvent, NULL);</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">
GetInteractor()-&gt;InvokeEvent(vtkCommand::LeftButtonReleaseEvent, 
NULL);</span><br>
<br>Hope this can help any other one.<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Da:</span></b> AGPX &lt;agpxnet@yahoo.it&gt;<br><b><span style="font-weight: bold;">A:</span></b> vtk vtk &lt;vtkusers@vtk.org&gt;<br><b><span style="font-weight: bold;">Inviato:</span></b> Sab 3 luglio 2010, 20:17:20<br><b><span style="font-weight: bold;">Oggetto:</span></b> [vtkusers] How to update render window programmatically taking into account the desired update rate...<br></font><br><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;"><div><span style="font-family: arial,helvetica,sans-serif;">Hello,<br><br>I have a render window with a 3D volume (rendered with a desired update rate). I have (in the same window) a plane widget.
 Finally, I have a slider that I can use to move the plane. When I move the plane through the slider, I need to update the render window to show the new plane position. I perform this through the method Render of the vtkRenderWindow. This works, but the desired update rate isn't respected, that is no degradation are perfomed. There's any way to obtain this result when I interact with the window programmatically (instead of the mouse interactions)?<br><br>Thanks in advance.</span><br></div>
</div><br>



      </div></div>
</div><br>



      </body></html>