Skip to content

DataViz

guillaume charbonnier edited this page Mar 9, 2019 · 4 revisions

DataViz

capture d ecran 2019-03-09 a 13 12 42

😅 (difficulty) ⌛ (time-Box) 🔗 (related to)
2️⃣ / 5️⃣ 15 - 30 mn DataViz

See how easy it is to show a basic Digital Terrain Model with DataViz

✔️ primary objectives

  • Use a Surface3D to display a elevation from an heightMap (or from another model if you prefer)
  • use a texture
  • modify the theme (will you be able to deactivate all the labels ?)
  • control the camera position
  • explore other area of the API (scatter, bar graph)

💰 useful ressources

⚠️ cautions and warnings

  • unlike most of the QtModule, QtDataVisualization is not available in LGPL (but GPL v3)

👶 Newbies area

Warning : Spoilers !!!
QML types Module Useful for...
Surface3D QtDataVisualization container of the graph
Surface3DSeries QtDataVisualization A graph creating a surface for every element if the data proxy
HeightMapSurfaceDataProxy QtDataVisualization load a heightmap image (where elevation is determine from grey shade of every pixel of the given image)
ItemModelSurfaceDataProxy QtDataVisualization use a model (such as a ListModel) as proxy data for the Surface3DSeries

ℹ️ useful information and hints

Clone this wiki locally