[vtkusers] where is the code for rotation?
Hossein Nazem
hossein.nazem at gmail.com
Mon Feb 18 13:01:01 EST 2013
i checked the vtkRenderWindowInteractor.cxx but i couldnt find the code
relevent to rotation
On Mon, Feb 18, 2013 at 9:24 PM, Hossein Nazem <hossein.nazem at gmail.com>wrote:
>
> hi all,
> i have a 3d volume and i ve wrote a function to rotate it:
>
> Renderer->GetActiveCamera()->Roll(deg1);
> Renderer->GetActiveCamera()->Azimuth(deg2);
> Renderer->GetActiveCamera()->Elevation(deg3);
>
> in comparison with defult rotation in vtkrenderwindowinteractor, mine is
> slower and keep the image quality while the defult rotation(which use mouse
> events) reduces the quality during the rotation and when the rotation
> finished it restores the initial quality, i want to know where is the code
> of this process or how could i do the same?
> thanks
> hossein
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130218/daf2560c/attachment.htm>
More information about the vtkusers
mailing list