Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgenericmatrix.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QtGui/qtguiglobal.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qdebug.h>
#include <QtCore/qdatastream.h>
+ Include dependency graph for qgenericmatrix.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QGenericMatrix< N, M, T >
 The QGenericMatrix class is a template class that represents a NxM transformation matrix with N columns and M rows. More...
 
class  QTypeInfo< QGenericMatrix< N, M, T > >
 

Typedefs

typedef QGenericMatrix< 2, 2, float > QMatrix2x2
 
typedef QGenericMatrix< 2, 3, float > QMatrix2x3
 
typedef QGenericMatrix< 2, 4, float > QMatrix2x4
 
typedef QGenericMatrix< 3, 2, float > QMatrix3x2
 
typedef QGenericMatrix< 3, 3, float > QMatrix3x3
 
typedef QGenericMatrix< 3, 4, float > QMatrix3x4
 
typedef QGenericMatrix< 4, 2, float > QMatrix4x2
 
typedef QGenericMatrix< 4, 3, float > QMatrix4x3
 

Functions

template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator+ (const QGenericMatrix< N, M, T > &m1, const QGenericMatrix< N, M, T > &m2)
 
template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator- (const QGenericMatrix< N, M, T > &m1, const QGenericMatrix< N, M, T > &m2)
 
template<int N, int M1, int M2, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< M1, M2, T > operator* (const QGenericMatrix< N, M2, T > &m1, const QGenericMatrix< M1, N, T > &m2)
 
template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator- (const QGenericMatrix< N, M, T > &matrix)
 
template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator* (T factor, const QGenericMatrix< N, M, T > &matrix)
 
template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator* (const QGenericMatrix< N, M, T > &matrix, T factor)
 
template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator/ (const QGenericMatrix< N, M, T > &matrix, T divisor)
 
template<int N, int M, typename T >
QDebug operator<< (QDebug dbg, const QGenericMatrix< N, M, T > &m)
 
template<int N, int M, typename T >
QDataStreamoperator<< (QDataStream &stream, const QGenericMatrix< N, M, T > &matrix)
 
template<int N, int M, typename T >
QDataStreamoperator>> (QDataStream &stream, QGenericMatrix< N, M, T > &matrix)
 

Typedef Documentation

◆ QMatrix2x2

typedef QGenericMatrix<2, 2, float> QMatrix2x2
related

Definition at line 291 of file qgenericmatrix.h.

◆ QMatrix2x3

typedef QGenericMatrix<2, 3, float> QMatrix2x3
related

Definition at line 292 of file qgenericmatrix.h.

◆ QMatrix2x4

typedef QGenericMatrix<2, 4, float> QMatrix2x4
related

Definition at line 293 of file qgenericmatrix.h.

◆ QMatrix3x2

typedef QGenericMatrix<3, 2, float> QMatrix3x2
related

Definition at line 294 of file qgenericmatrix.h.

◆ QMatrix3x3

typedef QGenericMatrix<3, 3, float> QMatrix3x3
related

Definition at line 295 of file qgenericmatrix.h.

◆ QMatrix3x4

typedef QGenericMatrix<3, 4, float> QMatrix3x4
related

Definition at line 296 of file qgenericmatrix.h.

◆ QMatrix4x2

typedef QGenericMatrix<4, 2, float> QMatrix4x2
related

Definition at line 297 of file qgenericmatrix.h.

◆ QMatrix4x3

typedef QGenericMatrix<4, 3, float> QMatrix4x3
related

Definition at line 298 of file qgenericmatrix.h.

Function Documentation

◆ operator*() [1/3]

template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator* ( const QGenericMatrix< N, M, T > & matrix,
T factor )
related

Definition at line 263 of file qgenericmatrix.h.

◆ operator*() [2/3]

template<int N, int M1, int M2, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< M1, M2, T > operator* ( const QGenericMatrix< N, M2, T > & m1,
const QGenericMatrix< M1, N, T > & m2 )

Definition at line 228 of file qgenericmatrix.h.

References Qt::Uninitialized.

◆ operator*() [3/3]

template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator* ( T factor,
const QGenericMatrix< N, M, T > & matrix )
related

Definition at line 253 of file qgenericmatrix.h.

◆ operator+()

template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator+ ( const QGenericMatrix< N, M, T > & m1,
const QGenericMatrix< N, M, T > & m2 )
related

Definition at line 208 of file qgenericmatrix.h.

◆ operator-() [1/2]

template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator- ( const QGenericMatrix< N, M, T > & m1,
const QGenericMatrix< N, M, T > & m2 )
related

Definition at line 218 of file qgenericmatrix.h.

◆ operator-() [2/2]

template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator- ( const QGenericMatrix< N, M, T > & matrix)
related

Definition at line 243 of file qgenericmatrix.h.

◆ operator/()

template<int N, int M, typename T >
Q_OUTOFLINE_TEMPLATE QGenericMatrix< N, M, T > operator/ ( const QGenericMatrix< N, M, T > & matrix,
T divisor )
related

Definition at line 273 of file qgenericmatrix.h.

◆ operator<<() [1/2]

template<int N, int M, typename T >
QDataStream & operator<< ( QDataStream & stream,
const QGenericMatrix< N, M, T > & matrix )
related

Definition at line 323 of file qgenericmatrix.h.

◆ operator<<() [2/2]

template<int N, int M, typename T >
QDebug operator<< ( QDebug dbg,
const QGenericMatrix< N, M, T > & m )

Definition at line 303 of file qgenericmatrix.h.

References M.

◆ operator>>()

template<int N, int M, typename T >
QDataStream & operator>> ( QDataStream & stream,
QGenericMatrix< N, M, T > & matrix )
related

Definition at line 332 of file qgenericmatrix.h.