X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Stream.h;h=673cca656a7d4a6b6968a64a750a5bf8004840f8;hb=c7cf59e092fe050003d1e556715e3ac97acf6bd4;hp=800438fe5962d63ef85dd2625ad6a6b0f7aba353;hpb=b9ed33639cafc722366a852dc6539e8dfec5a22d;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Stream.h b/src/HYDROData/HYDROData_Stream.h index 800438fe..673cca65 100644 --- a/src/HYDROData/HYDROData_Stream.h +++ b/src/HYDROData/HYDROData_Stream.h @@ -126,6 +126,12 @@ public: */ HYDRODATA_EXPORT virtual void UpdatePrs(); + /** + * + */ + HYDRODATA_EXPORT virtual void CopyTo( const Handle(HYDROData_Entity)& theDestination ) const; + + /** * Returns default filling color for new stream. */ @@ -244,13 +250,20 @@ public: * Returns reference bottom polyline object of stream. */ HYDRODATA_EXPORT virtual Handle(HYDROData_Polyline3D) GetBottomPolyline() const; + + /** + * Sets reference bottom polyline object for stream. + * \param theBottom the polyline 3D + * \return true in case of success + */ + HYDRODATA_EXPORT virtual bool SetBottomPolyline( const Handle(HYDROData_Polyline3D)& theBottom ); /** * Add interpolated profiles into the stream. * \param theInterpolator the interpolator * \return true in case of success */ - HYDRODATA_EXPORT virtual bool Interpolate( const HYDROData_IProfilesInterpolator* theInterpolator ); + HYDRODATA_EXPORT virtual bool Interpolate( HYDROData_IProfilesInterpolator* theInterpolator ); protected: