X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Tools.h;h=b0af5520bae730e1b3a1252f24df5a358bb42e70;hb=befbd47554122bdbc74789ee76975167292d58be;hp=83fbdb888b0b3cf2d2accda2296a09603b1172cb;hpb=59d7c196ce4f5ed43cb550ee5caecd68676abfb3;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Tools.h b/src/ModelAPI/ModelAPI_Tools.h index 83fbdb888..b0af5520b 100644 --- a/src/ModelAPI/ModelAPI_Tools.h +++ b/src/ModelAPI/ModelAPI_Tools.h @@ -229,6 +229,13 @@ MODELAPI_EXPORT void getColor(const std::shared_ptr& theResult, */ MODELAPI_EXPORT double getTransparency(const std::shared_ptr& 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 theSource, + std::shared_ptr theDest); + } #endif