X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_ICurve.hxx;h=ed6b3c2e42270bdfafb57b330dd4e85b17dace9c;hb=f8d32cb2595584ebe43d5a664a457500e17e454d;hp=fd5e63d5b5e5518d999bc69487208ce82ebbba55;hpb=7e825ec456c9331ef0df1cb59865cc55f0d8516a;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx index fd5e63d5..ed6b3c2e 100644 --- a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx +++ b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx @@ -59,6 +59,11 @@ class CURVECREATOR_EXPORT CurveCreator_ICurve public: typedef std::vector ListAISObjects; + typedef std::pair SectionToPoint; + typedef std::deque SectionToPointList; + + typedef std::deque< std::pair< SectionToPoint,std::deque< float > > > SectionToPointCoordsList; + public: /***********************************************/ /*** Undo/Redo methods ***/ @@ -146,9 +151,14 @@ public: virtual bool setPoint( const int theISection, const int theIPnt, const std::deque& theNewCoords ) = 0; + + //! Set coordinates of specified points from different sections + virtual bool setSeveralPoints( const SectionToPointCoordsList &theSectionToPntCoords) = 0; //! Remove point with given id virtual bool removePoint( const int theISection, const int theIPnt = -1 ) = 0; + //! Remove several points from different sections + virtual bool removeSeveralPoints( const SectionToPointList &theSectionToPntIDs) = 0; //! Get coordinates of specified point virtual std::deque getPoint( const int theISection, @@ -169,7 +179,9 @@ public: /***********************************************/ /*** Presentation methods ***/ /***********************************************/ - virtual ListAISObjects constructWire() const = 0; + virtual ListAISObjects constructWire() = 0; + + virtual Handle_AIS_InteractiveObject getAISObject() const = 0; }; #endif