X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_SketcherMgr.h;h=cd8e3380f64e76eec5fc23539b16a46824dafc61;hb=ccebb4b23e0354829c9636110b903c59923d8e30;hp=67640b0184c9fa779fa1103ac6f72c1228e7ddf8;hpb=5cd9804b0680fcf9c89c4265964679e36c015773;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_SketcherMgr.h b/src/PartSet/PartSet_SketcherMgr.h index 67640b018..cd8e3380f 100644 --- a/src/PartSet/PartSet_SketcherMgr.h +++ b/src/PartSet/PartSet_SketcherMgr.h @@ -55,6 +55,7 @@ #include #include #include +#include #include @@ -137,7 +138,8 @@ public: /// Struct to define selection model information to store/restore selection struct SelectionInfo { - std::set myAttributes; /// the selected attributes + /// the selected attributes and indices of points if array + std::map myAttributes; std::set myResults; /// the selected results TopoDS_Shape myFirstResultShape; /// the first shape of feature result TopTools_MapOfShape myLocalSelectedShapes; /// shapes of local selection @@ -380,6 +382,9 @@ public: */ virtual void processEvent(const std::shared_ptr& theMessage); + /// Returns true if current mode of objects creation is by drag mouse + bool isDragModeCreation() const; + public slots: /// Process sketch plane selected event @@ -509,6 +514,8 @@ private: QMap myPointsHighlight; bool myNoDragMoving; + + QPoint myMousePoint; };