X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Utils.h;h=f7691c0dd78896b9f7bdfb2391d61a2701a63b73;hb=c363fc5c3541669e07cf4d991cc1e94253147ac1;hp=0ba0372a66613d610a832bb92fce6e31429888b8;hpb=48f8100acdb4013ef527aa372a898fa0b7e7a2f9;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Utils.h b/src/HYDROCurveCreator/CurveCreator_Utils.h index 0ba0372a..f7691c0d 100644 --- a/src/HYDROCurveCreator/CurveCreator_Utils.h +++ b/src/HYDROCurveCreator/CurveCreator_Utils.h @@ -72,6 +72,7 @@ public: /** * Find selected points in the context * \param theContext the viewer context + * \param theCurve a curve object, that contains data */ CURVECREATOR_EXPORT static void getSelectedPoints( Handle(AIS_InteractiveContext) theContext, const CurveCreator_ICurve* theCurve, @@ -80,6 +81,7 @@ public: /** * Set selected points to the context * \param theContext the viewer context + * \param theCurve a curve object, that contains data * \param thePoints the curve point indices to be selected in the context */ CURVECREATOR_EXPORT static void setSelectedPoints( @@ -90,29 +92,15 @@ public: /*! * \brief Sets the local point context for the 3D viewer. + * \param theCurve a curve object, that contains data + * \param theContext the viewer context * \param theOpen The flag to open or close the local context. */ CURVECREATOR_EXPORT static void setLocalPointContext( + const CurveCreator_ICurve* theCurve, Handle(AIS_InteractiveContext) theContext, const bool theOpen ); - /** - * Find the neighbour points by the clicked coordinates - * \param theContext the viewer context. - * \param theContext the V3D view. - * \param theX the X coordinate in the view. - * \param theY the Y coordinate in the view. - * \param thePoint the output point to be append to the model curve - * \param thePoint1 the output point to bound the line where a new point should be inserted - * \param thePoint2 the output point to bound the line where a new point should be inserted - */ - /*CURVECREATOR_EXPORT static bool getNeighbourPoints( - Handle(AIS_InteractiveContext) theContext, - Handle(V3d_View) theView, - const int theX, const int theY, - gp_Pnt& thePoint, gp_Pnt& thePoint1, - gp_Pnt& thePoint2 );*/ - /** * Checks whether the point belongs to the OCC object * \param theObject a line or shape with a bspline inside