Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'vsr/make_test' into Dev_1.5.0
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_CustomPrs.h
diff --git
a/src/XGUI/XGUI_CustomPrs.h
b/src/XGUI/XGUI_CustomPrs.h
index 97bc89133bdf4efd3f53b0373ce4fc874c7bad10..36014cfec63c1c628c339d01fd62e95e8b3deae7 100644
(file)
--- 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<GeomAPI_ICustomPrs> theCustomPrs);
/// Modifies the given presentation in the custom way.
virtual bool customisePresentation(ResultPtr theResult, AISObjectPtr thePrs,
std::shared_ptr<GeomAPI_ICustomPrs> 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<int>& theColor);
};
#endif
};
#endif