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. Draw 3D Line between 3D Points (QT Data Visualization)
Forum Updated to NodeBB v4.3 + New Features

Draw 3D Line between 3D Points (QT Data Visualization)

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 3.5k Views 2 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.
  • B Offline
    B Offline
    BadHombre
    wrote on last edited by BadHombre
    #1

    Hi Guys,

    i created a Qt Data visualisation like the example of QT .. look here :
    https://doc.qt.io/qt-5/qtdatavisualization-scatter-example.html

    so 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

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cawlfj
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cawlfj
        wrote on last edited by
        #3

        just want to up this topic to top

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cawlfj
          wrote on last edited by
          #4

          up to top

          kshegunovK 1 Reply Last reply
          0
          • C cawlfj

            up to top

            kshegunovK Offline
            kshegunovK Offline
            kshegunov
            Moderators
            wrote on last edited by
            #5

            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.

            Read and abide by the Qt Code of Conduct

            C 1 Reply Last reply
            0
            • kshegunovK kshegunov

              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.

              C Offline
              C Offline
              cawlfj
              wrote on last edited by
              #6

              @kshegunov
              Noted and with thanks

              You means only the way through QtOpenGL?
              That is bad news.
              0_1491349896460_QQ截图20170331212226.png

              kshegunovK 1 Reply Last reply
              0
              • C cawlfj

                @kshegunov
                Noted and with thanks

                You means only the way through QtOpenGL?
                That is bad news.
                0_1491349896460_QQ截图20170331212226.png

                kshegunovK Offline
                kshegunovK Offline
                kshegunov
                Moderators
                wrote on last edited by
                #7

                @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.

                Read and abide by the Qt Code of Conduct

                1 Reply Last reply
                1

                • Login

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