X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_ICustomPrs.h;h=de9c6d299f5dbb359aee66febcb07473c2003c73;hb=ce9008bdda3fa14d6fa6c61360541249ccf43ce0;hp=c398a33bce83e204803d9bfc3fa7dd6bfbba7e80;hpb=6ebb0f00477866099d80a8373d2b306d8ed0906e;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_ICustomPrs.h b/src/GeomAPI/GeomAPI_ICustomPrs.h index c398a33bc..de9c6d299 100644 --- a/src/GeomAPI/GeomAPI_ICustomPrs.h +++ b/src/GeomAPI/GeomAPI_ICustomPrs.h @@ -7,18 +7,27 @@ #ifndef GeomAPI_ICustomPrs_H #define GeomAPI_ICustomPrs_H +#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: - virtual void customisePresentation(AISObjectPtr thePrs) = 0; + GEOMAPI_EXPORT virtual ~GeomAPI_ICustomPrs(); + + /// Modifies the given presentation in the custom way. + virtual bool customisePresentation(std::shared_ptr theResult, AISObjectPtr thePrs, + std::shared_ptr theDefaultPrs) = 0; }; typedef std::shared_ptr GeomCustomPrsPtr; -#endif \ No newline at end of file +#endif