QTransform Class
(Qt3DCore::QTransform)
Properties
Public Functions
Public Slots
Signals
Static Public Members
QQuaternion | fromAxesAndAngles(const QVector3D &axis1, float angle1, const QVector3D &axis2, float angle2) |
QQuaternion | fromAxesAndAngles(const QVector3D &axis1, float angle1, const QVector3D &axis2, float angle2, const QVector3D &axis3, float angle3) |
QQuaternion | fromAxisAndAngle(const QVector3D &axis, float angle) |
QQuaternion | fromAxisAndAngle(float x, float y, float z, float angle) |
QQuaternion | fromEulerAngles(const QVector3D &eulerAngles) |
QQuaternion | fromEulerAngles(float pitch, float yaw, float roll) |
QMatrix4x4 | rotateAround(const QVector3D &point, float angle, const QVector3D &axis) |
- 11 static public members inherited from QObject
Protected Functions
| QTransform(QTransformPrivate &dd, QNode *parent = Q_NULLPTR) |
Reimplemented Protected Functions
virtual void | copy(const QNode *ref) |
Additional Inherited Members
Property Documentation
Access functions:
QMatrix4x4 | matrix() const |
void | setMatrix(const QMatrix4x4 &matrix) |
Notifier signal:
void | matrixChanged(const QMatrix4x4 &matrix) |
Access functions:
QQuaternion | rotation() const |
void | setRotation(const QQuaternion &rotation) |
Notifier signal:
void | rotationChanged(const QQuaternion &rotation) |
rotationX : float
Access functions:
float | rotationX() const |
void | setRotationX(float rotationX) |
Notifier signal:
void | rotationXChanged(float rotationX) |
rotationY : float
Access functions:
float | rotationY() const |
void | setRotationY(float rotationY) |
Notifier signal:
void | rotationYChanged(float rotationY) |
rotationZ : float
Access functions:
float | rotationZ() const |
void | setRotationZ(float rotationZ) |
Notifier signal:
void | rotationZChanged(float rotationZ) |
scale : float
Access functions:
float | scale() const |
void | setScale(float scale) |
Notifier signal:
void | scaleChanged(float scale) |
Access functions:
QVector3D | scale3D() const |
void | setScale3D(const QVector3D &scale) |
Notifier signal:
void | scale3DChanged(const QVector3D &scale) |
Access functions:
QVector3D | translation() const |
void | setTranslation(const QVector3D &translation) |
Notifier signal:
void | translationChanged(const QVector3D &translation) |
Member Function Documentation
Default constructs an instance of QTransform.
Copy constructor.
Destroys the instance of QTransform.
[virtual protected]
void QTransform::copy(const QNode *ref)
[static]
QQuaternion QTransform::fromAxesAndAngles(const QVector3D &axis1, float angle1, const QVector3D &axis2, float angle2)
[static]
QQuaternion QTransform::fromAxesAndAngles(const QVector3D &axis1, float angle1, const QVector3D &axis2, float angle2, const QVector3D &axis3, float angle3)
[static]
QQuaternion QTransform::fromAxisAndAngle(const QVector3D &axis, float angle)
[static]
QQuaternion QTransform::fromAxisAndAngle(float x, float y, float z, float angle)
[static]
QQuaternion QTransform::fromEulerAngles(const QVector3D &eulerAngles)
[static]
QQuaternion QTransform::fromEulerAngles(float pitch, float yaw, float roll)
[static]
QMatrix4x4 QTransform::rotateAround(const QVector3D &point, float angle, const QVector3D &axis)
© 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.