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 stable processing of mirror constraint (eliminating SolveSpace problems)
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_ICustomPrs.h
diff --git
a/src/GeomAPI/GeomAPI_ICustomPrs.h
b/src/GeomAPI/GeomAPI_ICustomPrs.h
index cbed444b76919614476c2d0ea53f5a0068926f26..de9c6d299f5dbb359aee66febcb07473c2003c73 100644
(file)
--- a/
src/GeomAPI/GeomAPI_ICustomPrs.h
+++ b/
src/GeomAPI/GeomAPI_ICustomPrs.h
@@
-7,19
+7,27
@@
#ifndef GeomAPI_ICustomPrs_H
#define GeomAPI_ICustomPrs_H
#ifndef GeomAPI_ICustomPrs_H
#define GeomAPI_ICustomPrs_H
+#include "GeomAPI.h"
+#include "GeomAPI_AISObject.h"
#include "GeomAPI_AISObject.h"
#include "GeomAPI_AISObject.h"
+#include <vector>
/**
* Interface of a class which can provide specific customization of
* object presentation
*/
/**
* Interface of a class which can provide specific customization of
* object presentation
*/
+class ModelAPI_Result;
+
class GeomAPI_ICustomPrs
{
public:
class GeomAPI_ICustomPrs
{
public:
+ GEOMAPI_EXPORT virtual ~GeomAPI_ICustomPrs();
+
/// Modifies the given presentation in the custom way.
/// 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;
-#endif
\ No newline at end of file
+#endif