Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Qt 3 Support Members for QMatrix4x4

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.

- QMatrix4x4 class reference

## Related Non-Members

QGenericMatrix<N, M, qreal> | qGenericMatrixFromMatrix4x4 ( const QMatrix4x4 & matrix )
QMatrix4x4 | qGenericMatrixToMatrix4x4 ( const QGenericMatrix<N, M, qreal> & matrix )

## Related Non-Members

### QGenericMatrix<N, M, qreal> qGenericMatrixFromMatrix4x4 ( const QMatrix4x4 & 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().

### QMatrix4x4 qGenericMatrixToMatrix4x4 ( const QGenericMatrix<N, M, qreal> & matrix )

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 &).