The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
QGenericMatrix<N, M, qreal> | qGenericMatrixFromMatrix4x4 ( const QMatrix4x4 & matrix ) |
QMatrix4x4 | qGenericMatrixToMatrix4x4 ( const QGenericMatrix<N, M, qreal> & matrix ) |
Returns a NxM generic matrix constructed from the left-most N columns and top-most M rows of matrix. If N or M is greater than 4, then the remaining elements are filled with elements from the identity matrix.
See also QMatrix4x4::toGenericMatrix().
Returns a 4x4 matrix constructed from the left-most 4 columns and top-most 4 rows of matrix. If matrix has less than 4 columns or rows, the remaining elements are filled with elements from the identity matrix.
See also QMatrix4x4(const QGenericMatrix &).