X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Widget.h;h=f17cf3d17f567238a4f2f6fd6798965141e3740e;hb=297574150f5c46ad0196e3e9b459fbc67a13fdd5;hp=39e752d8440dc9f22c03eb612c0170aaa05c6855;hpb=dd5464a8326937e9478012a3ca441461ad50be31;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.h b/src/HYDROCurveCreator/CurveCreator_Widget.h index 39e752d8..f17cf3d1 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.h +++ b/src/HYDROCurveCreator/CurveCreator_Widget.h @@ -157,6 +157,7 @@ private: // curve algorithm int findLocalPointIndex( int theSectionId, float theX, float theY ); + void findSections( int thePointId, QList& theSections ); // OCC algorithm bool pointOnObject( Handle(AIS_InteractiveObject) theObject, @@ -164,7 +165,7 @@ private: gp_Pnt& thePoint, int& thePoint1, int& thePoint2 ); bool hasProjectPointOnCurve( const int theX, const int theY, const Handle(Geom_Curve)& theCurve, - gp_Pnt& theOutPoint ); + Standard_Real& theParameter ); private: QMap myActionMap; @@ -176,8 +177,10 @@ private: int mySection; int myPointNum; bool myDragStarted; - QList myDragPoints; QPoint myDragStartPosition; + int myDragInteractionStyle; + QList myDragPoints; + bool myDragged; QByteArray myGuiState; };