X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_ICustomPrs.h;h=de9c6d299f5dbb359aee66febcb07473c2003c73;hb=7f873aed4bae5a98dca078209699b54276b46fce;hp=72c362d657e7e46787e30f3852cc878781de4e70;hpb=456f3a5a34c59422d6016cb68417515920ed06fd;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_ICustomPrs.h b/src/GeomAPI/GeomAPI_ICustomPrs.h index 72c362d65..de9c6d299 100644 --- a/src/GeomAPI/GeomAPI_ICustomPrs.h +++ b/src/GeomAPI/GeomAPI_ICustomPrs.h @@ -9,18 +9,23 @@ #include "GeomAPI.h" #include "GeomAPI_AISObject.h" +#include "GeomAPI_AISObject.h" +#include /** * 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 theResult, AISObjectPtr thePrs, + std::shared_ptr theDefaultPrs) = 0; }; typedef std::shared_ptr GeomCustomPrsPtr;