Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
[modules/hydro.git] / src / HYDROData / HYDROData_IPolyline.h
index 0d3d7442ce8f2e074fa37880ee370cb9f346cc44..aa68ccb035b33b40b164babb747a5569b8b52035 100644 (file)
@@ -37,15 +37,35 @@ 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.
    */
-  HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() = 0;
+  HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const = 0;
 
 
   /**