[vtkusers] Drag boxwidget long a fixed axis

Tamim tamim.boubou at gmail.com
Sun Mar 25 08:00:01 EDT 2018


Hello, 

I have a vtkboxwidget2  and I can do the following with it :

Move it left,right, up ,down ,forward,backward with my keyboard, rotate it
around one of its fixed axis at a time (Rotate it around X only,Y only, or Z
only).

I've been trying to apply the fixed rotation on movement with my mouse, i.e
I want to be able to drag the box with mouse only along one of the axis at a
time.
  
I've tried many ways but no success so far.

Any ideas? 



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


More information about the vtkusers mailing list