X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultConstruction.h;h=41d74975c1960e82ce44ad175510b70ed73d3db0;hb=95eee6723538599e290922329bb5b2653ebaab20;hp=f24fb0d909a1ad387282367cf0b6c8b3c3df1d13;hpb=5dfebcc3a72f75f043de9880419b39f073af6819;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultConstruction.h b/src/ModelAPI/ModelAPI_ResultConstruction.h index f24fb0d90..41d74975c 100644 --- a/src/ModelAPI/ModelAPI_ResultConstruction.h +++ b/src/ModelAPI/ModelAPI_ResultConstruction.h @@ -33,6 +33,13 @@ class ModelAPI_ResultConstruction : public ModelAPI_Result return MY_GROUP; } + /// default color for a result construction + inline static const std::string& DEFAULT_COLOR() + { + static const std::string RESULT_CONSTRUCTION_COLOR("120,120,120"); + return RESULT_CONSTRUCTION_COLOR; + } + /// Sets the result virtual void setShape(std::shared_ptr theShape) = 0;