From 8243944789a0eb8aa7a82f17d8b3d71e08fc30cd Mon Sep 17 00:00:00 2001 From: mgn Date: Wed, 18 Mar 2020 12:30:44 +0300 Subject: [PATCH] 0031439: Visualization - Access to the active axis of AIS Manipulator A new method that returns the active axis of the manipulator has been added. --- src/AIS/AIS_Manipulator.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AIS/AIS_Manipulator.hxx b/src/AIS/AIS_Manipulator.hxx index 11999798fd..c80ed0ed68 100644 --- a/src/AIS/AIS_Manipulator.hxx +++ b/src/AIS/AIS_Manipulator.hxx @@ -259,6 +259,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; } -- 2.39.5