Salome HOME
Issue#1059: Consider operation state in selection validator
[modules/shaper.git] / src / XGUI / XGUI_CustomPrs.h
index 97bc89133bdf4efd3f53b0373ce4fc874c7bad10..36014cfec63c1c628c339d01fd62e95e8b3deae7 100644 (file)
@@ -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);
+
+  /// 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