X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_ICustomPrs.h;h=2c2520ba9508f42935358c4ff69e55165113b3e8;hb=2413ba5e387ebc030eb89aaad917991844ae518d;hp=cbed444b76919614476c2d0ea53f5a0068926f26;hpb=7b95df2653284e65f416373ff010af49ee8c68ef;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_ICustomPrs.h b/src/GeomAPI/GeomAPI_ICustomPrs.h index cbed444b7..2c2520ba9 100644 --- a/src/GeomAPI/GeomAPI_ICustomPrs.h +++ b/src/GeomAPI/GeomAPI_ICustomPrs.h @@ -7,19 +7,29 @@ #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 + * \ingroup DataModel + * \brief Interface of a class which can provide specific customization of + * object presentation + */ 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; -#endif \ No newline at end of file +#endif