Salome HOME
Drawing of zones in OCC view improved.
[modules/hydro.git] / src / HYDROPy / HYDROData_Object.sip
index ba45f00f2ddde692c2d10d10b6954814c45de272..852e58f561836ee0594eca019ae1246fd16a7dd1 100644 (file)
 
 typedef int ObjectKind;
 
+const ObjectKind KIND_UNKNOWN;
+const ObjectKind KIND_IMAGE;
+const ObjectKind KIND_POLYLINE;
+const ObjectKind KIND_VISUAL_STATE;
+const ObjectKind KIND_BATHYMETRY;
+
 class HYDROData_Object
 {
 %TypeHeaderCode
@@ -76,6 +82,12 @@ public:
    */
   void SetName(const QString& theName);
 
+  /**
+   * Updates object state.
+   * \param theIsForce force reupdating of data object
+   */
+  void Update(const bool theIsForce);
+
   /**
    * Checks is object exists in the data structure.
    * \returns true is object is not exists in the data model