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
Correction for reentrant tangent arc
[modules/shaper.git]
/
src
/
ModelHighAPI
/
ModelHighAPI_Selection.h
diff --git
a/src/ModelHighAPI/ModelHighAPI_Selection.h
b/src/ModelHighAPI/ModelHighAPI_Selection.h
index 2e1507ff139ea8da3f44b367de3f1641728d3e3e..b138b8f009962002f990485681593e80e997f573 100644
(file)
--- a/
src/ModelHighAPI/ModelHighAPI_Selection.h
+++ b/
src/ModelHighAPI/ModelHighAPI_Selection.h
@@
-76,6
+76,14
@@
public:
MODELHIGHAPI_EXPORT
virtual std::string shapeType() const;
MODELHIGHAPI_EXPORT
virtual std::string shapeType() const;
+ /// Shortcut for result()->data()->setName()
+ MODELHIGHAPI_EXPORT
+ void setName(const std::string& theName);
+
+ /// Change result's color
+ MODELHIGHAPI_EXPORT
+ void setColor(int theRed, int theGreen, int theBlue);
+
private:
VariantType myVariantType;
ResultSubShapePair myResultSubShapePair;
private:
VariantType myVariantType;
ResultSubShapePair myResultSubShapePair;