Salome HOME
lots 3,8
[modules/hydro.git] / src / HYDROData / HYDROData_Profile.h
index 658bc8473bf5c801686b47a1199852a35d1517c6..79f241858325a73c177c0a86d3562d2aa8773c77 100644 (file)
@@ -46,7 +46,8 @@ protected:
     DataTag_FirstPoint,       ///< first(left) point
     DataTag_LastPoint,        ///< last(right) point
     DataTag_ChildProfileUZ,   ///< child parametric profile
-    DataTag_FilePath          ///< profile imported file path
+    DataTag_FilePath,          ///< profile imported file path
+    DataTag_ProfileColor      ///< color of profile
   };
 
 public:
@@ -214,6 +215,12 @@ public:
    */
   HYDRODATA_EXPORT TCollection_AsciiString  GetFilePath() const;
 
+
+  HYDRODATA_EXPORT void SetProfileColor( const QColor& theColor );
+
+  HYDRODATA_EXPORT bool GetProfileColor(QColor&) const;
+
+
   /**
    * Imports Profile data from file. The supported file types:
    *  - parametric presentation of profile (2 points in line U,Z)