QGenericMatrix Class

The QGenericMatrix class is a template class that represents a NxM transformation matrix with N columns and M rows. More...

Header: #include <QGenericMatrix>
qmake: QT += gui
Since: Qt 4.6

This class was introduced in Qt 4.6.

typedef QMatrix2x2
typedef QMatrix2x3
typedef QMatrix2x4
typedef QMatrix3x2
typedef QMatrix3x3
typedef QMatrix3x4
typedef QMatrix4x2
typedef QMatrix4x3

Detailed Description

The QGenericMatrix template has three parameters:

NNumber of columns.
MNumber of rows.
TElement type that is visible to users of the class.

See also QMatrix4x4.

Related Non-Members

typedef QGenericMatrix::QMatrix2x2

The QMatrix2x2 type defines a convenient instantiation of the QGenericMatrix template for 2 columns, 2 rows, and float as the element type.

typedef QGenericMatrix::QMatrix2x3

The QMatrix2x3 type defines a convenient instantiation of the QGenericMatrix template for 2 columns, 3 rows, and float as the element type.

typedef QGenericMatrix::QMatrix2x4

The QMatrix2x4 type defines a convenient instantiation of the QGenericMatrix template for 2 columns, 4 rows, and float as the element type.

typedef QGenericMatrix::QMatrix3x2

The QMatrix3x2 type defines a convenient instantiation of the QGenericMatrix template for 3 columns, 2 rows, and float as the element type.

typedef QGenericMatrix::QMatrix3x3

The QMatrix3x3 type defines a convenient instantiation of the QGenericMatrix template for 3 columns, 3 rows, and float as the element type.

typedef QGenericMatrix::QMatrix3x4

The QMatrix3x4 type defines a convenient instantiation of the QGenericMatrix template for 3 columns, 4 rows, and float as the element type.

typedef QGenericMatrix::QMatrix4x2

The QMatrix4x2 type defines a convenient instantiation of the QGenericMatrix template for 4 columns, 2 rows, and float as the element type.

typedef QGenericMatrix::QMatrix4x3

The QMatrix4x3 type defines a convenient instantiation of the QGenericMatrix template for 4 columns, 3 rows, and float as the element type.