Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133095

Create a QRay3D class

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Other, GUI: Other
    • None

    Description

      QtGraphs just added API (doRayPicking(QVector3D origin, QVector3D direction)) representing a ray in 3D space without first writing a geometric class for it. There's a QRay(3D?) in Qt3D, it also does other things. A general QRay3D would make sense at the same level as QVector3D. Note: these are C++ types, not QML ones.

      As a physicist, I'm also concerned about the conflation of a position vector and a direction vector (like the difference between a time point and a duration), so I wouldn't mind a QRay3D to be a (QPoint3D, QVector3D).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes