Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Add line segments (vectors) to Q3DSurface charts
Qt 6.11 is out! See what's new in the release blog

Add line segments (vectors) to Q3DSurface charts

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 566 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • BartDB Offline
    BartDB Offline
    BartD
    wrote on last edited by
    #1

    Hi,

    I've started using the Qt Datavisualization library to produce surface plots. I've used the "surface" example as a starting point. Rendering several surfaces goes fine. Now I want to use line segments to demonstrate the relation between different surfaces. I have looked at addCustomItem(), but this does not seem suitable, as it wants to add a 'fixed' object to the chart. This is also shown in the "Custom Items" example. What I need is a bit different. Think of the following examples :

    1. at each mesh point of a (QSurface3DSeries) surface show a normal vector, who's length is proportional to local curvature.

    2. from a (light) source location draw a line normal to a (QSurface3DSeries) surface, through the plane, till it ends up at its mirror location.

    I'm not sure how to go about, all the OpenGl rendering done in the background is not (publicly) accessible through the Q3DSurface class.

    Any advice would be much appreciated.

    Bart

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved