From: mgn Date: Wed, 18 Mar 2020 09:30:44 +0000 (+0300) Subject: 0031439: Visualization - Access to the active axis of AIS Manipulator X-Git-Tag: V7_5_0_beta~256 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=22fa1da36ebcd97e604034d47c103dff0f39c24a;p=occt-copy.git 0031439: Visualization - Access to the active axis of AIS Manipulator A new method that returns the active axis of the manipulator has been added. --- diff --git a/src/AIS/AIS_Manipulator.hxx b/src/AIS/AIS_Manipulator.hxx index f53dc9df1d..9fb2494fd6 100644 --- a/src/AIS/AIS_Manipulator.hxx +++ b/src/AIS/AIS_Manipulator.hxx @@ -260,6 +260,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; }