Salome HOME
#1107 Tab key does not change focus to Apply in circle sketch feature.
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index a7eec2af01ce1e5e2e169c6ada9d760e3b746a02..78da19457d11969a3d4cdf34a811dd04829fced3 100644 (file)
@@ -227,7 +227,15 @@ class XGUI_EXPORT XGUI_Displayer: public QObject
   /// \param theUpdateViewer update viewer flag
   /// \return previously defined color on the object
   QColor setObjectColor(ObjectPtr theObject, const QColor& theColor, bool theUpdateViewer = true);
+
+  /// Returns Trihedron object if it is displayed
+  Handle(AIS_InteractiveObject) getTrihedron() const;
   
+  // Set trihedron active (used in selection) or non active
+  void activateTrihedron(bool theIsActive);
+
+  bool isTrihedronActive() const { return myIsTrihedronActive; }
+
   /// Converts shape type (TopAbs_ShapeEnum) to selection mode
   /// \param theShapeType a shape type from TopAbs_ShapeEnum
   static int getSelectionMode(int theShapeType);
@@ -316,6 +324,9 @@ private:
   /// the enable update viewer flag
   bool myEnableUpdateViewer; 
 
+  // Flag: use trihedgon for selection or not
+  bool myIsTrihedronActive;
+
   /// A flag that update was requested but not done
   mutable bool myNeedUpdate;
 };