<div dir="ltr"><div>Does below link help?<br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Animation/AnimateActors">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Animation/AnimateActors</a><br><br></div>Alex<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 12:50 PM, Jian Li <span dir="ltr">&lt;<a href="mailto:jian.li@cometsolutions.com" target="_blank">jian.li@cometsolutions.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 dir="ltr">
<div name="divtagdefaultwrapper" style="font-size:12pt;margin:0;font-family:Calibri,Arial,Helvetica,sans-serif">
Hi;<br>
<br>
I&#39;m using vtk-6.1.0 on Windows 7. I created a view widget which has options to change camera angles, such as, Bottom, Front, Left, Right .... And the following  is part of the code that handles the camera position.
<br>
<br>
    dataPtr_-&gt;renderer_-&gt;GetActiveCamera()-&gt;SetPosition(newPos[0] + focalPoint[0], newPos[1] + focalPoint[1], newPos[2] + focalPoint[2]);<br>
    dataPtr_-&gt;renderer_-&gt;GetActiveCamera()-&gt;SetViewUp(newPos[3], newPos[4], newPos[5]);<br>
    dataPtr_-&gt;renderer_-&gt;GetActiveCamera()-&gt;SetViewAngle(30);<br>
    dataPtr_-&gt;renderer_-&gt;GetActiveCamera()-&gt;OrthogonalizeViewUp();<br>
    dataPtr_-&gt;renderer_-&gt;ResetCameraClippingRange();<br>
    dataPtr_-&gt;renderer_-&gt;ResetCamera();<br>
    dataPtr_-&gt;displayWidget_-&gt;GetRenderWindow()-&gt;Render();<br>
<br>
They work fine, but  the view of the object is updated instantly like changing a slide. I wonder if there is a setting that can show the movement in slow motion, i.e. user can see the object in the scene  rotate to the required camera position. I&#39;ve seen some
 gui applications have this feature, I don&#39;t know if VTK can do it. Any help is appreciated.<br>
<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
Jian<br>
<br>
</font></span></div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>