<div dir="ltr">
<p class="" style="text-align:justify"><span style="font-size:12pt;line-height:115%;font-family:"Times New Roman","serif"">hi Alex</span></p>
<p class="" style="margin-bottom:0.0001pt;text-align:justify"><span style="font-size:12pt;line-height:115%;font-family:"Times New Roman","serif"">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:"Times New Roman","serif"">as you said rotate method was in vtkInteractorStyle
subclasses but I can'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:"Times New Roman","serif"">the mapper I'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'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:"Times New Roman","serif"">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"><<a href="mailto:hossein.nazem@gmail.com" target="_blank">hossein.nazem@gmail.com</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><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"><<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>></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->GetRenderWindow()->SetDesiredUpdateRate(r->GetDesiredUpdateRate());<br>
<br>
and return it back tio normal after rotation :<br>
<br>
r->GetRenderWindow()->SetDesiredUpdateRate(r->GetStillUpdateRate());<br>
<br>
<br>
Alex<br>
<div><div><br>
<br>
<br>
On Mon, Feb 18, 2013 at 10:01 AM, Hossein Nazem <<a href="mailto:hossein.nazem@gmail.com" target="_blank">hossein.nazem@gmail.com</a>> wrote:<br>
> i checked the vtkRenderWindowInteractor.cxx but i couldnt find the code<br>
> relevent to rotation<br>
><br>
><br>
> On Mon, Feb 18, 2013 at 9:24 PM, Hossein Nazem <<a href="mailto:hossein.nazem@gmail.com" target="_blank">hossein.nazem@gmail.com</a>><br>
> wrote:<br>
>><br>
>><br>
>> hi all,<br>
>> i have a 3d volume and i ve wrote a function to rotate it:<br>
>><br>
>> Renderer->GetActiveCamera()->Roll(deg1);<br>
>> Renderer->GetActiveCamera()->Azimuth(deg2);<br>
>> Renderer->GetActiveCamera()->Elevation(deg3);<br>
>><br>
>> in comparison with defult rotation in vtkrenderwindowinteractor, mine is<br>
>> slower and keep the image quality while the defult rotation(which use mouse<br>
>> events) reduces the quality during the rotation and when the rotation<br>
>> finished it restores the initial quality, i want to know where is the code<br>
>> of this process or how could i do the same?<br>
>> thanks<br>
>> hossein<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
</div></div></blockquote></div><br></div>