NAME

Qt::Gui::QQuaternion

PUBLIC METHODS

QQuaternion()
QQuaternion(const QVector4D & vector)
QQuaternion(qreal scalar, const QVector3D & vector)
QQuaternion(qreal scalar, qreal xpos, qreal ypos, qreal zpos)
QQuaternion conjugate()
static QQuaternion fromAxisAndAngle(const QVector3D & axis, qreal angle)
static QQuaternion fromAxisAndAngle(qreal x, qreal y, qreal z, qreal angle)
bool isIdentity()
bool isNull()
qreal length()
qreal lengthSquared()
static QQuaternion nlerp(const QQuaternion & q1, const QQuaternion & q2, qreal t)
void normalize()
QQuaternion normalized()
QVariant operator QVariant()
QQuaternion & operator*=(qreal factor)
QQuaternion & operator*=(const QQuaternion & quaternion)
QQuaternion & operator+=(const QQuaternion & quaternion)
QQuaternion & operator-=(const QQuaternion & quaternion)
QQuaternion & operator/=(qreal divisor)
QVector3D rotatedVector(const QVector3D & vector)
qreal scalar()
void setScalar(qreal scalar)
void setVector(const QVector3D & vector)
void setVector(qreal x, qreal y, qreal z)
void setX(qreal x)
void setY(qreal y)
void setZ(qreal z)
static QQuaternion slerp(const QQuaternion & q1, const QQuaternion & q2, qreal t)
QVector4D toVector4D()
QVector3D vector()
qreal x()
qreal y()
qreal z()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 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