1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAPI_IPresentable.hxx
4 // Created: 17 July 2014
5 // Author: Vitaly SMETANNIKOV
7 #ifndef GeomAPI_IPresentable_H_
8 #define GeomAPI_IPresentable_H_
10 #include "GeomAPI_AISObject.h"
13 * A class which defines an interface of object which is able to create its own presentation
15 class GeomAPI_IPresentable
18 GEOMAPI_EXPORT virtual ~GeomAPI_IPresentable();
19 /** Returns the AIS preview
20 * \param thePrevious - defines a presentation if it was created previously
22 virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious) = 0;
25 typedef std::shared_ptr<GeomAPI_IPresentable> GeomPresentablePtr;