Wednesday 15 January 2020

VTK boxwidget rotation-handlers

what I have seen so far, there is a widget which shows a 3D-bounding-box with 6 handlers. Python Boxwidget Exampler

I would like to modify the translation by clicking [cntrl]+draging handle and rotation only around the y-axis by clicking [shift]+draging handle and scale by clicking [alt]+draging handle.

Every interaction should just only occur to the box in the scene and nothing else.

Do you know how to limit the operations on the box by using keyboard keys like mentioned above, and how to limit the rotation by just one axis?

Do I have to overwrite the boxwidget functions?



from VTK boxwidget rotation-handlers

No comments:

Post a Comment