X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintManager.h;h=a2d7ffaffe580a08ca944a71938b56dfae64092d;hb=7c14fff8f3b1848b5903a451a8f3e2fc071e7f30;hp=4604a52b11d7dc233a53e86ae2b12f6753ae6ad2;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintManager.h b/src/SketchSolver/SketchSolver_ConstraintManager.h index 4604a52b1..a2d7ffaff 100644 --- a/src/SketchSolver/SketchSolver_ConstraintManager.h +++ b/src/SketchSolver/SketchSolver_ConstraintManager.h @@ -9,7 +9,7 @@ #include "SketchSolver.h" #include -#include +#include #include #include @@ -23,7 +23,7 @@ #include /** \class SketchSolver_ConstraintManager - * \ingroup DataModel + * \ingroup Plugins * \brief Listens the changes of SketchPlugin features and transforms the Constraint * feature into the format understandable by SolveSpace library. * @@ -67,7 +67,7 @@ class SketchSolver_ConstraintManager : public Events_Listener * \return \c true if the workplane changed successfully * \remark Type of theSketch is not verified inside */ - bool changeWorkplane(std::shared_ptr theSketch); + bool changeWorkplane(CompositeFeaturePtr theSketch); /** \brief Removes a workplane from the manager. * All groups based on such workplane will be removed too. @@ -76,10 +76,10 @@ class SketchSolver_ConstraintManager : public Events_Listener */ bool removeWorkplane(std::shared_ptr theSketch); - /** \brief Updates entity which is neither workplane nor constraint + /** \brief Updates entity which is moved in GUI * \param[in] theFeature entity to be updated */ - void updateEntity(std::shared_ptr theFeature); + void moveEntity(std::shared_ptr theFeature); /** \brief Goes through the list of groups and solve the constraints * \param theForceUpdate flushes the update event in any case: something changed or not @@ -103,7 +103,7 @@ class SketchSolver_ConstraintManager : public Events_Listener private: static SketchSolver_ConstraintManager* _self; ///< Self pointer to implement singleton functionality - std::vector myGroups; ///< Groups of constraints + std::vector myGroups; ///< Groups of constraints /// true if computation is performed and all "updates" are generated by this algo /// and needs no recomputation bool myIsComputed;