Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
[modules/hydro.git] / src / HYDROPy / HYDROData_Entity.sip
index e148402d38d1f60d1279feaefd2577fa8194adaa..f0205a2f3adda593086515ba7a8fe920bdf614ac 100644 (file)
@@ -30,7 +30,17 @@ const ObjectKind KIND_UNKNOWN;
 const ObjectKind KIND_IMAGE;
 const ObjectKind KIND_POLYLINE;
 const ObjectKind KIND_BATHYMETRY;
+const ObjectKind KIND_ALTITUDE;
 const ObjectKind KIND_IMMERSIBLE_ZONE;
+const ObjectKind KIND_RIVER;
+const ObjectKind KIND_STREAM;
+const ObjectKind KIND_CONFLUENCE;
+const ObjectKind KIND_CHANNEL;
+const ObjectKind KIND_OBSTACLE;
+const ObjectKind KIND_DIGUE;
+const ObjectKind KIND_PROFILE;
+const ObjectKind KIND_PROFILEUZ;
+const ObjectKind KIND_POLYLINEXY;
 const ObjectKind KIND_CALCULATION;
 const ObjectKind KIND_ZONE;
 const ObjectKind KIND_REGION;
@@ -49,8 +59,8 @@ class HYDROData_Entity
         sipClass = sipClass_HYDROData_Image;
         break;
 
-      case KIND_POLYLINE:
-        sipClass = sipClass_HYDROData_Polyline;
+      case KIND_POLYLINEXY:
+        sipClass = sipClass_HYDROData_PolylineXY;
         break;
 
       case KIND_BATHYMETRY:
@@ -65,6 +75,10 @@ class HYDROData_Entity
         sipClass = sipClass_HYDROData_CalculationCase;
         break;
 
+      case KIND_OBSTACLE:
+        sipClass = sipClass_HYDROData_Obstacle;
+        break;
+
       case KIND_REGION:
         sipClass = sipClass_HYDROData_Region;
         break;
@@ -88,22 +102,22 @@ public:
   /**
    * Returns the kind of this object. Must be redefined in all objects of known type.
    */
-  const ObjectKind GetKind() const;
+  virtual const ObjectKind GetKind() const;
 
   /**
    * Returns the name of this object.
    */
-  QString GetName() const;
+  virtual QString GetName() const;
 
   /**
    * Updates the name of this object.
    */
-  void SetName(const QString& theName);
+  virtual void SetName(const QString& theName);
 
   /**
    * Updates object state.
    */
-  void Update();
+  virtual void Update();
 
   /**
    * Checks is object exists in the data structure.