Mon, 03/04/2024 - 21:33
Forums:
Hello all, i am running
m_manipulator->Transform(thePoint.x(), thePoint.y(), m_view)
to move and rotate an AIS_InteractiveObject.
I would like that when I hold the ctrl key that rotation or movements go in steps like +-15 degrees for rotation or or 5mm steps for translation.
I was expecting to find some Signals for the manipulator but there are non (at least I can't find them). There are also no signals for AIS_InteractiveObject
How can I solve this problem?
Thank you!
Wed, 03/06/2024 - 10:23
It should be possible implementing such logic at application side, but I guess it might require some efforts.
Would be nice if
AIS_Manipulator
will support something like this on its own...Wed, 03/06/2024 - 10:49
Hello, you mean integration ability to specify determined steps for interactive actions?
Best regards, Dmitrii.
Fri, 03/08/2024 - 22:57
>>Would be nice if AIS_Manipulator will support something like this on its own...
100% agreed
>> Hello, you mean integration ability to specify determined steps for interactive actions?
yes.
like
public:
setTranslationSteps(double steps)
setRotationSteps(double steps)
slots:
onTranslationStep(double step)
onRotationStep(double step)
Fri, 09/20/2024 - 16:05
I also need a method to perform this.
Anyone has found a solution to implement it ?
Tue, 10/01/2024 - 01:45
I bring this up and hope there will be progress on this?
Wed, 10/02/2024 - 12:52
I implemented this to achieve the goal, it's an extension of the base AIS_Manipulator.
Hope you'll enjoy it.
Custom_AIS_Manipulator.h :
Custom_AIS_Manipulator.cpp
Usage :