]> OCCT Git - occt-copy.git/commitdiff
0031439: Visualization - Access to the active axis of AIS Manipulator
authormgn <mgn@opencascade.com>
Wed, 18 Mar 2020 09:30:44 +0000 (12:30 +0300)
committerkgv <kgv@opencascade.com>
Wed, 28 Oct 2020 08:56:33 +0000 (11:56 +0300)
A new method that returns the active axis of the manipulator has been added.

src/AIS/AIS_Manipulator.hxx

index 1562bb64f5874d5190d57a4e5b13202ae0344845..42ea00b5b0bd4f075fa11f038a2dfaa7f5cb7642 100644 (file)
@@ -256,6 +256,8 @@ public: //! @name Setters for parameters
 
   AIS_ManipulatorMode ActiveMode() const { return myCurrentMode; }
 
+  Standard_Integer ActiveAxisIndex() const { return myCurrentIndex; }
+
   //! @return poition of manipulator interactive object.
   const gp_Ax2& Position() const { return myPosition; }