<div dir="ltr">

<p class="" style="text-align:justify"><span style="font-size:12pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">hi Alex</span></p>

<p class="" style="margin-bottom:0.0001pt;text-align:justify"><span style="font-size:12pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">I reTest <b>SetDesierdUpdateRate</b>, there is a slight rise
in rotation speed but in comparison with default rotation(by mouse) it is still
very slow. the default rotation reduces resolution during rotation and recover
it after rotation. </span></p>

<p class="" style="margin-bottom:0.0001pt;text-align:justify"><span style="font-size:12pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">as you said rotate method was in vtkInteractorStyle
subclasses but I can&#39;t understand how this method reduces resolution.</span></p>

<p class="" style="margin-bottom:0.0001pt;text-align:justify"><span style="font-size:12pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">the mapper I&#39;m using is <b>vtksmartvolumemapper </b>and
having some methods <br>
to work with memory it<b> </b>has arouse my suspicious, although I didn&#39;t find
anything yet.<br>
 as a novice I will appreciate any advice </span></p>

<p class="" style="text-align:justify"><span style="font-size:12pt;line-height:115%;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">thanks</span><span style="font-size:12pt;line-height:115%"></span></p>

hossein<span style="font-size:14pt;line-height:115%"></span>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 4:05 PM, Hossein Nazem <span dir="ltr">&lt;<a href="mailto:hossein.nazem@gmail.com" target="_blank">hossein.nazem@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 dir="ltr"><div><div><div>tnx alex <br></div>i will explore  vtkInteractorStyle,... i tested GetDesiredUpdateRate()<br>
</div>but i didnt see any impact on image quality i think its better i test it again<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">hossein<br>
<div><div><br></div></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 1:06 AM, Alex Malyushytskyy <span dir="ltr">&lt;<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@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">I bet it is in vtkInteractorStyle or it subclass.<br>
I would expect  all you need to do is SetDesiredUpdateRate<br>
for vtkRenderWindow ( get it from interactor ) to interactor desired<br>
update rate ( GetDesiredUpdateRate() )<br>
before rotation:<br>
<br>
( r - vtkRenderWindowInteractor )<br>
<br>
 r-&gt;GetRenderWindow()-&gt;SetDesiredUpdateRate(r-&gt;GetDesiredUpdateRate());<br>
<br>
and return it back tio normal after rotation :<br>
<br>
 r-&gt;GetRenderWindow()-&gt;SetDesiredUpdateRate(r-&gt;GetStillUpdateRate());<br>
<br>
<br>
Alex<br>
<div><div><br>
<br>
<br>
On Mon, Feb 18, 2013 at 10:01 AM, Hossein Nazem &lt;<a href="mailto:hossein.nazem@gmail.com" target="_blank">hossein.nazem@gmail.com</a>&gt; wrote:<br>
&gt; i checked the  vtkRenderWindowInteractor.cxx but i couldnt find the code<br>
&gt; relevent to rotation<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Feb 18, 2013 at 9:24 PM, Hossein Nazem &lt;<a href="mailto:hossein.nazem@gmail.com" target="_blank">hossein.nazem@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; hi all,<br>
&gt;&gt; i have a 3d volume and i ve wrote a function to rotate it:<br>
&gt;&gt;<br>
&gt;&gt; Renderer-&gt;GetActiveCamera()-&gt;Roll(deg1);<br>
&gt;&gt; Renderer-&gt;GetActiveCamera()-&gt;Azimuth(deg2);<br>
&gt;&gt; Renderer-&gt;GetActiveCamera()-&gt;Elevation(deg3);<br>
&gt;&gt;<br>
&gt;&gt; in comparison with defult rotation in vtkrenderwindowinteractor, mine is<br>
&gt;&gt; slower and keep the image quality while the defult rotation(which use mouse<br>
&gt;&gt; events) reduces the quality during the rotation and when the rotation<br>
&gt;&gt; finished it restores the initial quality, i want to know where is the code<br>
&gt;&gt; of this process or how could i do the same?<br>
&gt;&gt; thanks<br>
&gt;&gt; hossein<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>