Draw 3D Line between 3D Points (QT Data Visualization)
-
wrote on 25 Mar 2017, 12:13 last edited by BadHombre
Hi Guys,
i created a Qt Data visualisation like the example of QT .. look here :
https://doc.qt.io/qt-5/qtdatavisualization-scatter-example.htmlso now i have some 3 D Points .
Now i want to draw a Line which gows through this Points.in 2D Chart i would create series and add the Points.
QLineSeries* series1 = new QLineSeries();
series1->append(XKoordinate, YKoordinate);and then add it to the chart.
is this also possible with a 3D line in the scatter ?
Thanks fr your Help
-
wrote on 31 Mar 2017, 13:41 last edited by
Yes I want to try this also. In Data Visualization , to show 3d point with 3dscatter is ok, but why there is not option for show the 3dScatter with 3d line(3d spline) to link these 3d points.
I think a lot of people want this.
How can we feed back to QT project team ?Dear BadHomebre, if you have any ideal or news on it kindly please share it with us.
-
wrote on 3 Apr 2017, 15:48 last edited by
just want to up this topic to top
-
wrote on 4 Apr 2017, 02:53 last edited by
up to top
-
Hold your horses, allow for more time before bumping up your (or in this case related) thread.
From what I can tell you can't directly, you should make your own spline interpolation (e.g. a bezier spline) that passes through 3D space. -
Hold your horses, allow for more time before bumping up your (or in this case related) thread.
From what I can tell you can't directly, you should make your own spline interpolation (e.g. a bezier spline) that passes through 3D space.wrote on 4 Apr 2017, 23:51 last edited by@kshegunov
Noted and with thanks -
@kshegunov
Noted and with thanksYou means only the way through QtOpenGL?
That is bad news.
@cawlfj said in Draw 3D Line between 3D Points (QT Data Visualization):
You means only the way through QtOpenGL?
No I mean you should probably do your own math and then use whatever you feel is most natural to draw the result of that math. OpenGL is for drawing, not for doing math.
1/7