NAME

Qt::Gui::QMatrix4x4

PUBLIC METHODS

QMatrix4x4()
QMatrix4x4(const qreal * values)
QMatrix4x4(const QTransform & transform)
QMatrix4x4(const QMatrix & matrix)
QMatrix4x4(const qreal * values, int cols, int rows)
QMatrix4x4(qreal m11, qreal m12, qreal m13, qreal m14, qreal m21, qreal m22, qreal m23, qreal m24, qreal m31, qreal m32, qreal m33, qreal m34, qreal m41, qreal m42, qreal m43, qreal m44)
QVector4D column(int index)
const qreal * constData()
void copyDataTo(qreal * values)
qreal * data()
const qreal * data()
qreal determinant()
void fill(qreal value)
void flipCoordinates()
void frustum(qreal left, qreal right, qreal bottom, qreal top, qreal nearPlane, qreal farPlane)
QMatrix4x4 inverted(bool * invertible = 0)
QMatrix4x4 inverted(bool * invertible)
bool isIdentity()
void lookAt(const QVector3D & eye, const QVector3D & center, const QVector3D & up)
QPoint map(const QPoint & point)
QPointF map(const QPointF & point)
QVector3D map(const QVector3D & point)
QVector4D map(const QVector4D & point)
QRect mapRect(const QRect & rect)
QRectF mapRect(const QRectF & rect)
QVector3D mapVector(const QVector3D & vector)
QVariant operator QVariant()
bool operator!=(const QMatrix4x4 & other)
const qreal & operator()(int row, int column)
qreal & operator()(int row, int column)
QMatrix4x4 & operator*=(const QMatrix4x4 & other)
QMatrix4x4 & operator*=(qreal factor)
QMatrix4x4 & operator+=(const QMatrix4x4 & other)
QMatrix4x4 & operator-=(const QMatrix4x4 & other)
QMatrix4x4 & operator/=(qreal divisor)
bool operator==(const QMatrix4x4 & other)
void optimize()
void ortho(const QRect & rect)
void ortho(const QRectF & rect)
void ortho(qreal left, qreal right, qreal bottom, qreal top, qreal nearPlane, qreal farPlane)
void perspective(qreal angle, qreal aspect, qreal nearPlane, qreal farPlane)
void rotate(const QQuaternion & quaternion)
void rotate(qreal angle, const QVector3D & vector)
void rotate(qreal angle, qreal x, qreal y, qreal z = 0.0f)
void rotate(qreal angle, qreal x, qreal y, qreal z)
QVector4D row(int index)
void scale(const QVector3D & vector)
void scale(qreal factor)
void scale(qreal x, qreal y)
void scale(qreal x, qreal y, qreal z)
void setColumn(int index, const QVector4D & value)
void setRow(int index, const QVector4D & value)
void setToIdentity()
QMatrix toAffine()
QTransform toTransform()
QTransform toTransform(qreal distanceToPlane)
void translate(const QVector3D & vector)
void translate(qreal x, qreal y)
void translate(qreal x, qreal y, qreal z)
QMatrix4x4 transposed()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html