[vtkusers] Drag a widget along an axis with mouse.

Tamim tamim.boubou at gmail.com
Tue Mar 27 05:01:32 EDT 2018


Hello all,

I have a vtk boxWidget2 and I can do the following with it:

- Move it up, down, left, right, forward, backward with my keyboard.

- Rotate it around one of its fixed axis (X only, Y only, Z only)and limit
the movement along one of them too with the keyboard.

I've been trying to limit the movement with my mouse (I want to drag it
*along one of its axis* with my mouse as well) but I didn't get any
results...

Any ideas ?



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list