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)