X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_ICurve.hxx;h=a36ebe92a8d4b34166d166a5bf01667d31d974e3;hb=1f844eb06506171b54541cc0caf1a0c237fe0dbf;hp=5f269c864cbc1cb28e63e7d3e636a598adc8add5;hpb=9718af2e5a19929f400ddff5e1848938b5c2ca6c;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx index 5f269c86..a36ebe92 100644 --- a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx +++ b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx @@ -25,7 +25,9 @@ #include "CurveCreator_Macro.hxx" #include -#include +#include + +#include namespace CurveCreator { @@ -54,6 +56,14 @@ namespace CurveCreator */ class CURVECREATOR_EXPORT CurveCreator_ICurve { +public: + typedef std::vector ListAISObjects; + + typedef std::pair SectionToPoint; + typedef std::deque SectionToPointList; + + typedef std::deque>> SectionToPointCoordsList; + public: /***********************************************/ /*** Undo/Redo methods ***/ @@ -141,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, @@ -164,7 +179,7 @@ public: /***********************************************/ /*** Presentation methods ***/ /***********************************************/ -// virtual TopoDS_Wire constructWire() const = 0; + virtual ListAISObjects constructWire() const = 0; }; #endif