Salome HOME
Correction for reentrant tangent arc
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Selection.h
index 2e1507ff139ea8da3f44b367de3f1641728d3e3e..b138b8f009962002f990485681593e80e997f573 100644 (file)
@@ -76,6 +76,14 @@ public:
   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;