Salome HOME
lots 3,8
[modules/hydro.git] / src / HYDROData / HYDROData_Profile.cxx
index 936e95130fbf7acc2a2ea482b1aacda786c38a26..cd8bd084a4152aeaf8ee2bfd36f37e3fef3a9eb0 100644 (file)
@@ -484,6 +484,16 @@ TCollection_AsciiString HYDROData_Profile::GetFilePath() const
   return aRes;
 }
 
+void HYDROData_Profile::SetProfileColor( const QColor& theColor )
+{
+  SetColor( theColor, DataTag_ProfileColor );
+}
+
+bool HYDROData_Profile::GetProfileColor(QColor& outColor) const
+{
+  return GetColor( outColor, DataTag_ProfileColor );
+}
+
 int HYDROData_Profile::ImportFromFile( const Handle(HYDROData_Document)& theDoc,
                                        const TCollection_AsciiString&    theFileName,
                                        NCollection_Sequence<int>&        theBadProfilesIds,