Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for issue #1000
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_ICustomPrs.h
diff --git
a/src/GeomAPI/GeomAPI_ICustomPrs.h
b/src/GeomAPI/GeomAPI_ICustomPrs.h
index 72c362d657e7e46787e30f3852cc878781de4e70..2c2520ba9508f42935358c4ff69e55165113b3e8 100644
(file)
--- a/
src/GeomAPI/GeomAPI_ICustomPrs.h
+++ b/
src/GeomAPI/GeomAPI_ICustomPrs.h
@@
-9,18
+9,25
@@
#include "GeomAPI.h"
#include "GeomAPI_AISObject.h"
#include "GeomAPI.h"
#include "GeomAPI_AISObject.h"
+#include "GeomAPI_AISObject.h"
+
+#include <vector>
+
+class ModelAPI_Result;
-/**
-* Interface of a class which can provide specific customization of
-* object presentation
-*/
+/** \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.
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<ModelAPI_Result> theResult, AISObjectPtr thePrs,
+ std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs) = 0;
};
typedef std::shared_ptr<GeomAPI_ICustomPrs> GeomCustomPrsPtr;
};
typedef std::shared_ptr<GeomAPI_ICustomPrs> GeomCustomPrsPtr;