]> SALOME platform Git repositories - modules/hydro.git/blobdiff - src/HYDROData/HYDROData_IPolyline.h
Salome HOME
Create goups for stream.
[modules/hydro.git] / src / HYDROData / HYDROData_IPolyline.h
index 0d3d7442ce8f2e074fa37880ee370cb9f346cc44..1a7c63ae5ece8010b1d37757d409e39921eaeb7a 100644 (file)
@@ -37,11 +37,31 @@ protected:
     DataTag_Points,
     DataTag_Sections,
     DataTag_PolylineShape,
+    DataTag_WireColor,
   };
 
 public:
   DEFINE_STANDARD_RTTI(HYDROData_IPolyline);
 
+public:
+
+  /**
+   * Sets wire color for object.
+   */
+  HYDRODATA_EXPORT virtual void SetWireColor( const QColor& theColor );
+
+  /**
+   * Returns wire color of object.
+   */
+  HYDRODATA_EXPORT virtual QColor GetWireColor() const;
+
+  /**
+   * Returns default wire color for new object.
+   */
+  HYDRODATA_EXPORT static QColor DefaultWireColor();
+
+public:
+
   /**
    * Returns the 3D presentation of all points.
    */