How to disable the dragging option of vtkOrientationMarkerWidget?

Hi all.

I have a simple question about dragging option of vtkOrientationMarkerWidget.

I want to disable the dragging option.
(I attached the image file, it indicates the dragging box of vtkOrientationMarkerWidget.)

Could you please advise me?

Thank you :slight_smile:

Best regards,
William Kim

Hi Kim!

If you are not interested in dragging or scaling, I would recommend to simply call the method InteractiveOff() from the vtkOrientationMarkerWidget, afterwards (it requires you to enable the widget beforehand) :wink:

Have a nice weekend!

Hi Rodrigo Figueiredo.

Thank you for your tip!

The ‘InteractiveOff()’ function works well!

Thank you :slight_smile:

1 Like