[vtkusers] rotation problem

Hossein Nazem hossein.nazem at gmail.com
Fri Apr 26 13:04:29 EDT 2013


dear vtk users
hi
i still struggling with this problem any idea?
doesnt anybody encounter the same problem?
hossein



On Fri, Mar 1, 2013 at 4:52 PM, Hossein Nazem <hossein.nazem at gmail.com>wrote:

> hi
> i have volume(ct sliceses) i rendered it but when i tried to rotate it it
> was moving wrongly( for example when i drag the mouse to right it rotates
> to left and when i drag up it rotates down) , so i set the interactor style
> to
> vtkInteractorStyleTrackballCamera and did some modification on its member
> function rotate. everything was ok. then i added a vtkAnnotatedCubeActor
> after that when i drag mouse,  volume was rotating correctly but cube
> rotating inversely, i tried to set widget interactor style
> like this:
> camstyle = vtkInteractorStyleTrackballCamera::New();
> widget->GetInteractor()->SetInteractorStyle(camstyle);
> but it didnt work,
> any idea appreciated
> hossein
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130426/900faae9/attachment.htm>


More information about the vtkusers mailing list