NAME

Qt::Gui::QVector4D

PUBLIC METHODS

QVector4D()
QVector4D(const QPoint & point)
QVector4D(const QPointF & point)
QVector4D(const QVector2D & vector)
QVector4D(const QVector3D & vector)
QVector4D(const QVector3D & vector, qreal wpos)
QVector4D(const QVector2D & vector, qreal zpos, qreal wpos)
QVector4D(qreal xpos, qreal ypos, qreal zpos, qreal wpos)
static qreal dotProduct(const QVector4D & v1, const QVector4D & v2)
bool isNull()
qreal length()
qreal lengthSquared()
void normalize()
QVector4D normalized()
QVariant operator QVariant()
QVector4D & operator*=(qreal factor)
QVector4D & operator*=(const QVector4D & vector)
QVector4D & operator+=(const QVector4D & vector)
QVector4D & operator-=(const QVector4D & vector)
QVector4D & operator/=(qreal divisor)
void setW(qreal w)
void setX(qreal x)
void setY(qreal y)
void setZ(qreal z)
QPoint toPoint()
QPointF toPointF()
QVector2D toVector2D()
QVector2D toVector2DAffine()
QVector3D toVector3D()
QVector3D toVector3DAffine()
qreal w()
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