Salome HOME
Sorting alphabetically.
[modules/hydro.git] / src / HYDROData / HYDROData_Calculation.h
index 64de389ef9fb2ba4488e217b34493f30b5505e57..a5b72c0fdc91155acb03244d23f4ef9bd4b04bde 100644 (file)
@@ -11,6 +11,7 @@ class QFile;
 
 class Handle(HYDROData_Polyline);
 class Handle(HYDROData_Zone);
+class Handle(HYDROData_Region);
 
 DEFINE_STANDARD_HANDLE(HYDROData_Calculation, HYDROData_Object)
 
@@ -33,7 +34,7 @@ protected:
     DataTag_First = HYDROData_Object::DataTag_First + 100, ///< first tag, to reserve
     DataTag_BoundaryPolyline,    ///< reference boundary polyline
     DataTag_Zone,                ///< reference zones
-    DataTag_SplittedZone         ///< reference splitted zones
+    DataTag_Region               ///< reference regions
   };
 
 public:
@@ -84,7 +85,7 @@ public:
    * Replace the refrence zone for calculation case.
    */
   HYDRODATA_EXPORT virtual void SetZone( const int                     theIndex,
-                                         const Handle(HYDROData_Zone)& theBathymetry );
+                                         const Handle(HYDROData_Zone)& theZone );
 
   /**
    * Sets the refrence zones for calculation case.
@@ -108,40 +109,40 @@ public:
 
 
   /**
-   * Returns number of splitted zones for calculation case.
+   * Returns number of regions for calculation case.
    */
-  HYDRODATA_EXPORT virtual int NbSplittedZones() const;
+  HYDRODATA_EXPORT virtual int NbRegions() const;
 
   /**
-   * Add new one splitted zone for calculation case.
+   * Add new one region for calculation case.
    */
-  HYDRODATA_EXPORT virtual void AddSplittedZone( const Handle(HYDROData_Zone)& theZone );
+  HYDRODATA_EXPORT virtual void AddRegion( const Handle(HYDROData_Region)& theRegion );
 
   /**
-   * Replace the splitted zone for calculation case.
+   * Replace the region for calculation case.
    */
-  HYDRODATA_EXPORT virtual void SetSplittedZone( const int                     theIndex,
-                                                 const Handle(HYDROData_Zone)& theBathymetry );
+  HYDRODATA_EXPORT virtual void SetRegion( const int                       theIndex,
+                                           const Handle(HYDROData_Region)& theRegion );
 
   /**
-   * Sets the refrence zones for calculation case.
+   * Sets the refrence region for calculation case.
    */
-  HYDRODATA_EXPORT virtual void SetSplittedZones( const HYDROData_SequenceOfObjects& theZones );
+  HYDRODATA_EXPORT virtual void SetRegions( const HYDROData_SequenceOfObjects& theRegions );
 
   /**
-   * Returns splitted zone of calculation case by index.
+   * Returns region of calculation case by index.
    */
-  HYDRODATA_EXPORT virtual Handle(HYDROData_Zone) GetSplittedZone( const int theIndex ) const;
+  HYDRODATA_EXPORT virtual Handle(HYDROData_Region) GetRegion( const int theIndex ) const;
 
   /**
-   * Returns all splitted zone of calculation case.
+   * Returns all regions of calculation case.
    */
-  HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetSplittedZones() const;
+  HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetRegions() const;
 
   /**
-   * Removes all splitted refrence zone of calculation case.
+   * Removes all regions of calculation case.
    */
-  HYDRODATA_EXPORT virtual void RemoveSplittedZones();
+  HYDRODATA_EXPORT virtual void RemoveRegions();
 
 protected: