AIS_Manipulator Transform control

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!

gkv311 n's picture

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...

Dmitrii Pasukhin's picture

Hello, you mean integration ability to specify determined steps for interactive actions?

Best regards, Dmitrii.

 

Daniel Duesentrieb's picture

>>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)