Salome HOME
Adjust unit tests
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Selection.h
index c89b414fb8fe56c33cf750c97c596bbba6806c12..21da1cdfe188790a4c1f30c6876c21c378f9472d 100644 (file)
@@ -96,6 +96,10 @@ public:
   MODELHIGHAPI_EXPORT
   void setName(const std::string& theName);
 
+  /// Shortcut for result()->data()->name()
+  MODELHIGHAPI_EXPORT
+  std::string name() const;
+
   /// Change result's color
   MODELHIGHAPI_EXPORT
   void setColor(int theRed, int theGreen, int theBlue);
@@ -104,6 +108,10 @@ public:
   MODELHIGHAPI_EXPORT
   void setDeflection(double theValue);
 
+  /// Change result's transparency
+  MODELHIGHAPI_EXPORT
+  void setTransparency(double theValue);
+
   /// Returns the number of sub-elements.
   MODELHIGHAPI_EXPORT
   int numberOfSubs() const;