X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_ICurve.hxx;h=821343e3493f3be387f27b6e715d50309d9c48de;hb=a8213a40ae36460055057f09e3e0828a01e27123;hp=4a9b4c3b659ddd25d6dbdfa6a8f020df995ed9f3;hpb=66eed78107ad562c2846807c99978fe5a212cca4;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx index 4a9b4c3b..821343e3 100644 --- a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx +++ b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx @@ -25,6 +25,9 @@ #include "CurveCreator_Macro.hxx" #include +#include + +#include namespace CurveCreator { @@ -53,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< std::pair< SectionToPoint,std::deque< float > > > SectionToPointCoordsList; + public: /***********************************************/ /*** Undo/Redo methods ***/ @@ -140,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, @@ -163,7 +179,7 @@ public: /***********************************************/ /*** Presentation methods ***/ /***********************************************/ -// virtual TopoDS_Wire constructWire() const = 0; + virtual ListAISObjects constructWire() const = 0; }; #endif