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.