[vtkusers] Moving actor with mouse

Doug Hoppes dhoppes at mbfbioscience.com
Wed Dec 18 14:14:23 EST 2013


Hi all,

                I have an sphere actor in my scene and I'm trying to move it with my mouse.  I noticed that the actor position is x=.5, y = 12.4, and z = .4.  The mouse coordinates are x = 500 and y = 600.  Is there a way to convert the mouse coordinates to the world coordinates so that the actor is always under the mouse?

Doug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131218/20e93def/attachment.htm>


More information about the vtkusers mailing list