Salome HOME
17.12.2013. Added Partition algorithm (draft version).
[modules/hydro.git] / src / HYDROData / HYDROData_PolylineXY.h
index 45ea7459654e8800e7663b331f880341c2389481..d14212e163ab7e52694d798d7752b2236b572510 100644 (file)
@@ -45,6 +45,11 @@ public:
    */
   HYDRODATA_EXPORT virtual QVariant GetDataVariant();
 
+  /**
+   * Returns default wire color for new polyline.
+   */
+  HYDRODATA_EXPORT static QColor DefaultWireColor();
+
 public:
 
   /**
@@ -57,9 +62,10 @@ public:
   /**
    * Returns the presentation of polyline section in Qt maner.
    */
-  HYDRODATA_EXPORT static QPainterPath BuildPainterPath( const SectionType&                  theType,
-                                                         const bool&                         theIsClosed,
-                                                         const NCollection_Sequence<gp_XYZ>& thePoints );
+  HYDRODATA_EXPORT static void BuildPainterPath( QPainterPath&                       thePath,
+                                                 const SectionType&                  theType,
+                                                 const bool&                         theIsClosed,
+                                                 const NCollection_Sequence<gp_XYZ>& thePoints );
 
 public: