/// \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);
/// 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;
};