Icy-imaging / Icy-Kernel

Icy kernel module
http://icy.bioimageanalysis.com/
55 stars 16 forks source link

Improve VTK mouse position #644

Open Stephane-D opened 7 years ago

Stephane-D commented 7 years ago

Add the 3D mouse position, using picked or dragged object. Currently mouseMoved(..) and mouseDragged(..) do

setMousePos(e.getPoint());

It would be better to use something similiar to what we do with canvasToImage(int x, int y) method int VtkCanvas. Use the main projection axis, and retain previous coordinates when possible...