For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Mouse Focus above BSpline Curve

!nvincible's picture

Hi All,

I just started using OCC.
I am using Qt4.4 I have written a program to create BSline curve .

This is the code I used to create BSpline Curve:-

TColgp_Array1OfPnt Points1(1,4);

GeomAPI_PointsToBSpline PTBS1(Points1);

Handle(Geom_BSplineCurve) BSC1 = PTBS1.Curve();
TopoDS_Edge S = BRepBuilderAPI_MakeEdge(BSC1).Edge();

Now my requirement is if mouse focus goes above this curve some message should popup etc... or I should know that mouse focus is above the curve .How can I achieve this???

PS:- One strange thing I noticed curve gets highlighted even when mouse is far from the curve .

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.