I need to perform very simple task: to transform selected objects.
2. rotate around location
3. uniform scale
In my code i've used following commands:
For translation and scale:
AISContext->Current()->SetLocation(TopLoc_Location(t) * AISContext->Current()->Location());
and a bit more involved for rotation to make it rotate around shape location and not around coordinate center.
The problem is that after setting location, object's selection boundary stays the same as before transformation... that is if i move object to some point, to select/deselect/highlight it again i need to move mouse cursor to the position where it was before moving...
As far as i understand if i want to just transform original shape location and not make a copy of it i need use Location routine and not BRepBuilderAPI_Transform. I also tried to use SetTransform of interactive object but it gives me the same results as SetLocation.
Spent 2 days already on this and still no luck...