Drag (move) objects with mouse

Dear developers and users,

I want to move objects by clicking on them and dragging them to a new location. Is this possible in opencascade? I already know how to translate objects, so it's a matter of tracking mouse position (in the form of coordinates) when an object is selected. Any ideas how to do this?

Kind regards,
Thieme

Kirill Gavrilov's picture

Usually an interactive object translation is enabled by attaching AIS_Manipulator auxiliary tool to it.

Thieme Vandeput's picture

The AIS_Manipulator works fine, thank you!