Salome HOME
refs #1331: automatic test for profiles points in GUI
[modules/hydro.git] / src / HYDROPy / HYDROData_Stream.sip
index 9461c8e518d7687eddbb58c12ebe3c36c4976374..cb233c5c8f03c41143c9cc5766f7dbae654ecdca 100644 (file)
@@ -27,11 +27,6 @@ class HYDROData_Stream : public HYDROData_NaturalObject
 %End
 
 public:
-  /**
-   * Update the shape presentations of stream.
-   */
-  void UpdatePrs();
-
   /**
    * Returns default filling color for new stream.
    */
@@ -45,8 +40,8 @@ public:
   /**
    * Returns true if given polyline can be used as stream axis.
    */
-  static bool IsValidAsAxis( HYDROData_PolylineXY theAxis ) 
-  [bool ( const opencascade::handle<HYDROData_PolylineXY>& )];
+  static bool IsValidAsAxis( HYDROData_PolylineXY theAxis )
+  [bool ( const Handle_HYDROData_PolylineXY& )];
   %MethodCode
     Handle(HYDROData_PolylineXY) aRef =
       Handle(HYDROData_PolylineXY)::DownCast( createHandle( a0 ) );
@@ -58,7 +53,7 @@ public:
     }
   %End
 
-public:      
+public:
   // Public methods to work with Stream data fields
 
   /**
@@ -85,12 +80,12 @@ public:
   [opencascade::handle<HYDROData_PolylineXY> ()];
   %MethodCode
     Handle(HYDROData_PolylineXY) aRef;
-    
+
     Py_BEGIN_ALLOW_THREADS
-    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetHydraulicAxis() : 
+    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetHydraulicAxis() :
                            sipCpp->GetHydraulicAxis();
     Py_END_ALLOW_THREADS
-    
+
     sipRes = (HYDROData_PolylineXY*)createPointer( aRef );
   %End
 
@@ -155,15 +150,15 @@ public:
   [opencascade::handle<HYDROData_Polyline3D> ()];
   %MethodCode
     Handle(HYDROData_Polyline3D) aRef;
-    
+
     Py_BEGIN_ALLOW_THREADS
-    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetBottomPolyline() : 
+    aRef = sipSelfWasArg ? sipCpp->HYDROData_Stream::GetBottomPolyline() :
                            sipCpp->GetBottomPolyline();
     Py_END_ALLOW_THREADS
-    
+
     sipRes = (HYDROData_Polyline3D*)createPointer( aRef );
   %End
-  
+
   /**
    * Sets reference bottom polyline object for stream.
    */
@@ -188,9 +183,19 @@ public:
    */
   virtual bool Interpolate( HYDROData_IProfilesInterpolator* theInterpolator );
 
+  /**
+   * Set vertical slicing step for profiles interpolation.
+   */
+  void   SetDDZ( double theDDZ );
+
+  /**
+   * Set horizontal step for profiles interpolation.
+   */
+  void   SetSpatialStep( double theSpatialStep );
+
 protected:
   /**
-   * Creates new object in the internal data structure. Use higher level objects 
+   * Creates new object in the internal data structure. Use higher level objects
    * to create objects with real content.
    */
   HYDROData_Stream();