以下成员源于类 QMatrix4x4 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(弃用)
void
|
flipCoordinates () |
(deprecated in 6.1)
QVector3D
|
operator* (const QVector3D & vector , const QMatrix4x4 & matrix ) |
(deprecated in 6.1)
QVector3D
|
operator* (const QMatrix4x4 & matrix , const QVector3D & vector ) |
(deprecated in 6.1)
QPoint
|
operator* (const QMatrix4x4 & matrix , const QPoint & point ) |
(deprecated in 6.1)
QPointF
|
operator* (const QMatrix4x4 & matrix , const QPointF & point ) |
[deprecated]
void
QMatrix4x4::
flipCoordinates
()
This function is deprecated. We strongly advise against using it in new code.
Flips between right-handed and left-handed coordinate systems by multiplying the y and z coordinates by -1. This is normally used to create a left-handed orthographic view without scaling the viewport as ortho () 做。
另请参阅 ortho ().
[deprecated in 6.1]
QVector3D
operator*
(const
QVector3D
&
vector
, const
QMatrix4x4
&
matrix
)
This function is deprecated since 6.1. We strongly advise against using it in new code.
Convert the QVector3D 到 QVector4D with 1.0 as the w coordinate, then multiply.
Returns the result of transforming vector according to matrix , with the matrix applied post-vector. The vector is transformed as a point.
[deprecated in 6.1]
QVector3D
operator*
(const
QMatrix4x4
&
matrix
, const
QVector3D
&
vector
)
This function is deprecated since 6.1. We strongly advise against using it in new code.
使用 QMatrix4x4::map () 代替。
Returns the result of transforming vector according to matrix , with the matrix applied pre-vector. The vector is transformed as a projective point.
[deprecated in 6.1]
QPoint
operator*
(const
QMatrix4x4
&
matrix
, const
QPoint
&
point
)
This function is deprecated since 6.1. We strongly advise against using it in new code.
使用 QMatrix4x4::map () 代替。
Returns the result of transforming point according to matrix , with the matrix applied pre-point.
[deprecated in 6.1]
QPointF
operator*
(const
QMatrix4x4
&
matrix
, const
QPointF
&
point
)
This function is deprecated since 6.1. We strongly advise against using it in new code.
使用 QMatrix4x4::map () 代替。
Returns the result of transforming point according to matrix , with the matrix applied pre-point.