Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Double editor in table
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_ICurve.hxx
diff --git
a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx
b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx
index fd5e63d5b5e5518d999bc69487208ce82ebbba55..821343e3493f3be387f27b6e715d50309d9c48de 100644
(file)
--- 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<Handle_AIS_InteractiveObject> ListAISObjects;
public:
typedef std::vector<Handle_AIS_InteractiveObject> ListAISObjects;
+ typedef std::pair<int,int> SectionToPoint;
+ typedef std::deque<SectionToPoint> SectionToPointList;
+
+ typedef std::deque< std::pair< SectionToPoint,std::deque< float > > > SectionToPointCoordsList;
+
public:
/***********************************************/
/*** Undo/Redo methods ***/
public:
/***********************************************/
/*** Undo/Redo methods ***/
@@
-146,9
+151,14
@@
public:
virtual bool setPoint( const int theISection,
const int theIPnt,
const std::deque<float>& theNewCoords ) = 0;
virtual bool setPoint( const int theISection,
const int theIPnt,
const std::deque<float>& 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 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<float> getPoint( const int theISection,
//! Get coordinates of specified point
virtual std::deque<float> getPoint( const int theISection,