Salome HOME
Change color for construction/body/group.
[modules/shaper.git] / src / GeomAPI / GeomAPI_ICustomPrs.h
index 72c362d657e7e46787e30f3852cc878781de4e70..de9c6d299f5dbb359aee66febcb07473c2003c73 100644 (file)
@@ -9,18 +9,23 @@
 
 #include "GeomAPI.h"
 #include "GeomAPI_AISObject.h"
+#include "GeomAPI_AISObject.h"
 
+#include <vector>
 /**
 * Interface of a class which can provide specific customization of
 * object presentation
 */ 
+class ModelAPI_Result;
+
 class GeomAPI_ICustomPrs
 {
 public:
   GEOMAPI_EXPORT virtual ~GeomAPI_ICustomPrs();
 
   /// Modifies the given presentation in the custom way.
-  virtual void customisePresentation(AISObjectPtr thePrs) = 0;
+  virtual bool customisePresentation(std::shared_ptr<ModelAPI_Result> theResult, AISObjectPtr thePrs,
+                                     std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs) = 0;
 };
 
 typedef std::shared_ptr<GeomAPI_ICustomPrs> GeomCustomPrsPtr;