Salome HOME
refs #640: correct width for non-georeferenced profile
[modules/hydro.git] / src / HYDROData / HYDROData_LandCover.h
index 3bba4a9e7e895d07d7a049b06ad2c843d5fab3cf..289e4bff1820b2778bac1190edd3312d107335c6 100644 (file)
@@ -126,21 +126,23 @@ public:
    */
   HYDRODATA_EXPORT static QColor DefaultBorderColor();
 
-protected:
+  /**
+   * Build the shape presentation of the land cover.
+   */
+  HYDRODATA_EXPORT static TopoDS_Shape buildShape( const HYDROData_SequenceOfObjects& thePolylines,
+                                                   TCollection_AsciiString& theErrorMsg );
+
   /**
    * Sets the shape presentation of the land cover.
    */
   HYDRODATA_EXPORT virtual void setShape( const TopoDS_Shape& theShape );
 
+protected:
+
   /**
    * Removes the shape from data label of the land cover object.
    */
   HYDRODATA_EXPORT virtual void removeShape();
-
-  /**
-   * Build the shape presentation of the land cover.
-   */
-  HYDRODATA_EXPORT virtual TopoDS_Shape buildShape() const;
 };
 
 #endif