Obsolete Members for QQuaternion

QQuaternion 클래스의 다음 멤버들은 더 이상 사용되지 않는 것으로 지정되었습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

공개 함수

(deprecated) void getAxes(QVector3D *xAxis, QVector3D *yAxis, QVector3D *zAxis) const
(deprecated) void getEulerAngles(float *pitch, float *yaw, float *roll) const

멤버 함수 설명

[deprecated] void QQuaternion::getAxes(QVector3D *xAxis, QVector3D *yAxis, QVector3D *zAxis) const

이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 toAxes()을 사용하십시오.

쿼터니언을 정의하는 3개의 직교 축(xAxis, yAxis, zAxis)을 반환합니다.

xAxis, yAxis, zAxis 는 모두 유효하고,nullptr 가 아닌 포인터여야 합니다. 그렇지 않으면 동작이 정의되지 않습니다.

fromAxes() 및 toRotationMatrix()도 참조하십시오 .

[deprecated] void QQuaternion::getEulerAngles(float *pitch, float *yaw, float *roll) const

이 함수는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것이 좋습니다.

대신 eulerAngles()을 사용하십시오.

이 쿼터니언에 해당하는 roll, pitch 및 yaw 오일러 각(도 단위)을 계산합니다.

pitch, yaw, roll 은 모두 유효하고,nullptr 이 아닌 포인터여야 하며, 그렇지 않은 경우 동작이 정의되지 않습니다.

eulerAngles() 및 fromEulerAngles()도 참조하십시오 .

© 2026 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.