eryar / occQt

A simple OpenCASCADE Qt demo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rotating/scaling/zooming a single shape/interactive object in a view among many objects

007atanu opened this issue · comments

I have created a application where there is a viewer and a view and a context. i have several AIS_Interectiveobjects/AIS_Shape s in the view .If i rotate the view all my objects in the view is rotating.I want to rotate/scale/zoom the selected objects among them may be one at a time. what is the best way to do?

a small example will do great.

Hi @007atanu

When you rotate/pan/zoom the view, all the AIS_Shape in the view will be rotate/pan/zoom.

I think you need a model dragger, like I mention in there:
#5

Best Regards,
Shing Liu

OpenCASCADE7.1.0 introduce AIS_Minpulator to do this, you can have a try.