Salome HOME
added the "Bring To Front" command for Groups
[modules/shaper.git] / src / ModelAPI / ModelAPI_Tools.h
index 83a1e010ef4a0e9676105322008018e9d0ffc829..8a2e7eec15627aeecd1160c0a19b329b8c00689a 100644 (file)
@@ -312,6 +312,14 @@ MODELAPI_EXPORT void showEdgesDirection(std::shared_ptr<ModelAPI_Result> theResu
 
 MODELAPI_EXPORT bool isShowEdgesDirection(std::shared_ptr<ModelAPI_Result> theResult);
 
+/*! Set flag to bring result in front of other results
+* \param[in] theResult a result object
+* \param[in] theFlag is a flag
+*/
+MODELAPI_EXPORT void bringToFront(std::shared_ptr<ModelAPI_Result> theResult, bool theFlag);
+
+MODELAPI_EXPORT bool isBringToFront(std::shared_ptr<ModelAPI_Result> theResult);
+
 /*! Returns current transparency in the given result
 * \param theResult a result object
 * \return a transparency value or -1 if it was not defined