[vtkusers] understand projection of mouse coordinates in vtk3DWidget
Leandros Fernandez
leandros1334 at ymail.com
Tue Sep 8 15:37:24 EDT 2009
I'd like to understand how exactly mouse motion is translated into movement in 3D space of the vtk3DWidgets.
For example: /Examples/GUI/Python/ProbeWithPointWidget.py
Apparently I can move the point widget along all three axes for any fixed scene orientation.
I think that the mouse x,y-coordinated must be projected onto some plane in 3D space, which touches the point widget. Correct? But WHICH plane?
Where can I find a more detailed explanation on widget interaction besides that widgets can be moved in 3D by the mouse? In "The Visualization Toolkit (3rd Edition)" they write "The initial direction of motion is used to determine which of the axes the user is moving the endpoint along". But this doesn't explain much.
Leandros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090908/f8b2caf9/attachment.htm>
More information about the vtkusers
mailing list