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
Validator for partition
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
ConstructionPlugin_Point.h
diff --git
a/src/ConstructionPlugin/ConstructionPlugin_Point.h
b/src/ConstructionPlugin/ConstructionPlugin_Point.h
index f4bf39a1186fdc61b3ee35e42f3665a8b7a609fa..8e0f0fcda6f74a4b959fdbbe664db39ab332ed0a 100644
(file)
--- a/
src/ConstructionPlugin/ConstructionPlugin_Point.h
+++ b/
src/ConstructionPlugin/ConstructionPlugin_Point.h
@@
-9,6
+9,7
@@
#include "ConstructionPlugin.h"
#include <ModelAPI_Feature.h>
#include "ConstructionPlugin.h"
#include <ModelAPI_Feature.h>
+#include <ModelAPI_Result.h>
#include <GeomAPI_ICustomPrs.h>
/**\class ConstructionPlugin_Point
#include <GeomAPI_ICustomPrs.h>
/**\class ConstructionPlugin_Point
@@
-27,13
+28,6
@@
class ConstructionPlugin_Point : public ModelAPI_Feature, public GeomAPI_ICustom
return CONSTRUCTION_POINT_KIND;
}
return CONSTRUCTION_POINT_KIND;
}
- /// default color for a point
- inline static const std::string& DEFAULT_COLOR()
- {
- static const std::string CONSTRUCTION_POINT_COLOR("#ffff00");
- return CONSTRUCTION_POINT_COLOR;
- }
-
/// attribute name for X coordinate
inline static const std::string& X()
{
/// attribute name for X coordinate
inline static const std::string& X()
{
@@
-65,9
+59,9
@@
class ConstructionPlugin_Point : public ModelAPI_Feature, public GeomAPI_ICustom
/// Use plugin manager for features creation
ConstructionPlugin_Point();
/// Use plugin manager for features creation
ConstructionPlugin_Point();
- ///
Modifies the given presentation in the custom way.
- virtual
void customisePresentation(AISObjectPtr thePrs);
-
+ ///
Customize presentation of the feature
+ virtual
bool customisePresentation(ResultPtr theResult, AISObjectPtr thePrs,
+ std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs);
};
#endif
};
#endif