[vtkusers] vtkCamera rotations
ankitramani
ankitvtk at googlemail.com
Tue May 22 10:50:57 EDT 2012
Hello,
I'm using a 2D medical image and I want to put flipping functionality. My
purpose is to flip, either horizontally or verticaly.
My question is that I don't know exactly which is the proper method to
achieve the flipping with vtkCamera. For rotation, i tried azimuth, yaw and
setroll functions with 90 degree. I am getting image vertically. I want to
rotate horizontally with 90 degree. for camera, i am using following code,
vtkCamera *aCamera = vtkCamera::New();
aCamera->SetViewUp(0, -1, 0);
aCamera->SetPosition(-1, 0, 0);
Regards.
Ankit Ramani
--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkCamera-rotations-tp5713301.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list