X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_CustomPrs.h;h=36014cfec63c1c628c339d01fd62e95e8b3deae7;hb=327f5bbd915fb32d21f2e524a8d97536e0e5dd4b;hp=97bc89133bdf4efd3f53b0373ce4fc874c7bad10;hpb=694482299ca580d780c221cc6a3e7574e59fd2c3;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_CustomPrs.h b/src/XGUI/XGUI_CustomPrs.h index 97bc89133..36014cfec 100644 --- a/src/XGUI/XGUI_CustomPrs.h +++ b/src/XGUI/XGUI_CustomPrs.h @@ -24,6 +24,11 @@ public: /// Modifies the given presentation in the custom way. virtual bool customisePresentation(ResultPtr theResult, AISObjectPtr thePrs, std::shared_ptr theCustomPrs); + + /// Returns color of a result object + /// \param theResult a result object + /// \param theColor a color in form of RGB vector + static void getResultColor(ResultPtr theResult, std::vector& theColor); }; #endif