Salome HOME
Fix coding style problems.
[modules/shaper.git] / src / ModelAPI / ModelAPI_Tools.h
index 83fbdb888b0b3cf2d2accda2296a09603b1172cb..b0af5520bae730e1b3a1252f24df5a358bb42e70 100644 (file)
@@ -229,6 +229,13 @@ MODELAPI_EXPORT void getColor(const std::shared_ptr<ModelAPI_Result>& theResult,
 */
 MODELAPI_EXPORT double getTransparency(const std::shared_ptr<ModelAPI_Result>& theResult);
 
+/*! Copies all visualization attributes from one result to another.
+* \param theSource a result that contains the copied attributes
+* \param theDest a destination result that takes the visualization attributes
+*/
+MODELAPI_EXPORT void copyVisualizationAttrs(std::shared_ptr<ModelAPI_Result> theSource,
+                                            std::shared_ptr<ModelAPI_Result> theDest);
+
 }
 
 #endif