3D line plot using QML
-
Hi, I'm developing a Qt Desktop C++ GUI application using Qt Creator IDE (Qt 5.13) and I don't know nothing about QML programming.
Inside my C++ application, I will have to create a function that generates a 3D LINE plot like this example image below:
Besides that, I need to interact with the plotted 3D data too:
- 3D point mouse selection
- 3D rotation
- Zoom
QUESTIONS:
a) Is it possible to do it using QML?
b) Is there any source-code example about 3D LINE plot (not a 3D surface)? -
@Pablo-J-Rogina I tried, but it is stoped in time in Qt 3 and 4...and it doesn't have a 3D line plot...
-
QSGGeometry
"Vertices can be as simple as points defined by x and y values or can be more complex where each vertex contains a normal, texture coordinates and a 3D position."Check out the "Scene Graph - Graph" demo. You "should"(tm) be able to extend that to 3D. I have used it for 2D myself, but not yet 3D. YMMV
-