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.