[vtkusers] getting the angle of rotation
Anja Ende
anja.ende at googlemail.com
Mon Sep 4 17:50:32 EDT 2006
Hi everyone,
I have a problem that I wonder if someone can help me with.
I have an image and when I press the left button and drag the mouse, I want
to calculate the angle that the subsequent mouse positions describe from the
center of the image. So, given x1, y1 and x2, y2, can someone tell me how I
can calculate the angle between them...
Thanks and cheers,
Anja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060904/74adffa2/attachment.htm>
More information about the vtkusers
mailing list