How to draw clothoids graphically in Qt?

I am trying to create an application that the user can use to draw clothoids with the mouse, that is, set the starting point and end point of the spiral, and then dragging these points with the mouse, he can also set the shape from the clothoid by changing the initial and final curvature. I will probably need to use tangents to change the curvature, although I'm not sure about that.

How can this be implemented in Qt? Do you know any examples of codes that I could run in Qt?

+4
source share
2 answers

A better approach would probably be to use the Graphics View Framework .

, . , .

+3

, , () " " , . ++ - .

++ ,

, "" . .

:

: . ( .) . .

, . , , "".

+2

All Articles