<div dir="ltr"><div><div><div><div><div><font size="4">hi </font><br></div>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 <br>
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<br>
</div>like this:<br>camstyle = vtkInteractorStyleTrackballCamera::New();<br>widget->GetInteractor()->SetInteractorStyle(camstyle); <br></div>but it didnt work,<br></div>any idea appreciated<br></div>hossein<br></div>