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

QCamera Q_INVOKABLE functions

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.7.0 RC
    • None
    • Qt3D
    • None

      Please make the following functions(as many as possible) in QCamera invokable so they may be called via qml

      QQuaternion tiltRotation(float angle) const;
      QQuaternion panRotation(float angle) const;
      QQuaternion rollRotation(float angle) const;

      // Translate relative to camera orientation axes
      void translate( const QVector3D& vLocal, CameraTranslationOption option = TranslateViewCenter );

      // Translate relative to world axes
      void translateWorld( const QVector3D& vWorld, CameraTranslationOption option = TranslateViewCenter );

      void tilt( const float& angle );
      void pan( const float& angle );
      void roll( const float& angle );

      void tiltAboutViewCenter( const float& angle );
      void panAboutViewCenter( const float& angle );
      void rollAboutViewCenter( const float& angle );

      void rotate( const QQuaternion& q );
      void rotateAboutViewCenter( const QQuaternion& q );

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

            seanharmer Sean Harmer
            jswigart Jeremy Swigart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes