Salome HOME
Merge branch 'Dev_0.7.1' of newgeom:newgeom into Dev_0.7.1
[modules/shaper.git] / src / GeomAPI / GeomAPI_ICustomPrs.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        GeomAPI_ICustomPrs.hxx
4 // Created:     11 Dec 2014
5 // Author:      Vitaly SMETANNIKOV
6
7 #ifndef GeomAPI_ICustomPrs_H
8 #define GeomAPI_ICustomPrs_H
9
10 #include "GeomAPI.h"
11 #include "GeomAPI_AISObject.h"
12
13 /**
14 * Interface of a class which can provide specific customization of
15 * object presentation
16 */ 
17 class GeomAPI_ICustomPrs
18 {
19 public:
20   GEOMAPI_EXPORT virtual ~GeomAPI_ICustomPrs();
21
22   /// Modifies the given presentation in the custom way.
23   virtual void customisePresentation(AISObjectPtr thePrs) = 0;
24 };
25
26 typedef std::shared_ptr<GeomAPI_ICustomPrs> GeomCustomPrsPtr;
27
28 #endif