java.lang.Object
io.qt.QtObject
io.qt.gui.QVector4D
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a vector or vertex in 4D space
Java wrapper for Qt class QVector4D
-
Constructor Summary
ConstructorDescriptionQVector4D
(float xpos, float ypos, float zpos, float wpos) SeeQVector4D::
QVector4D(QVector4D) -
Method Summary
Modifier and TypeMethodDescriptionfinal QVector4D
clone()
Creates and returns a copy of this object.final QVector4D
div
(float divisor) Seeoperator/(QVector4D,
float) final QVector4D
Seeoperator/(QVector4D,
QVector4D) final QVector4D
divide
(float divisor) final QVector4D
static float
dotProduct
(QVector4D v1, QVector4D v2) final boolean
boolean
final float
get
(int i) int
hashCode()
Returns the objects's hash code computed byqHash(QVector4D)
.final boolean
isNull()
final float
length()
final float
final QVector4D
final QVector4D
multiply
(float factor) final QVector4D
final void
final QVector4D
final QVector4D
static boolean
qFuzzyCompare
(QVector4D v1, QVector4D v2) void
readFrom
(QDataStream arg__1) final void
set
(int i, float value) SeeQVector4D::
operator[](int) final void
setW
(float w) final void
setX
(float x) final void
setY
(float y) final void
setZ
(float z) final QVector4D
final QVector4D
times
(float factor) Seeoperator*(QVector4D,
float) final QVector4D
times
(QMatrix4x4 matrix) Seeoperator*(QVector4D,
QMatrix4x4) final QVector4D
times
(QTransform matrix) Overloaded function fortimes(io.qt.gui.QMatrix4x4)
.final QVector4D
Seeoperator*(QVector4D,
QVector4D) final QPoint
toPoint()
final QPointF
toPointF()
toString()
Seeoperator<<(QDebug,
QVector4D) final QVector2D
final QVector2D
final QVector3D
final QVector3D
final QVector4D
Seeoperator-(QVector4D)
final float
w()
void
writeTo
(QDataStream arg__1) final float
x()
final float
y()
final float
z()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QVector4D
public QVector4D() -
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
See
QVector4D::
QVector4D(QVector4D) -
QVector4D
public QVector4D(float xpos, float ypos, float zpos, float wpos)
-
-
Method Details
-
isNull
-
length
-
lengthSquared
-
normalize
-
normalized
-
times
See
operator*(QVector4D,
QMatrix4x4) -
times
See
operator*(QVector4D,
QVector4D) -
times
See
operator*(QVector4D,
float) -
multiply
-
multiply
-
plus
-
add
-
unaryMinus
See
operator-(QVector4D)
-
minus
-
subtract
-
div
See
operator/(QVector4D,
QVector4D) -
div
See
operator/(QVector4D,
float) -
divide
-
divide
-
writeTo
-
equals
-
readFrom
-
get
-
set
See
QVector4D::
operator[](int) -
setW
-
setX
-
setY
-
setZ
-
toPoint
-
toPointF
-
toVector2D
-
toVector2DAffine
-
toVector3D
-
toVector3DAffine
-
w
-
x
-
y
-
z
-
dotProduct
-
qFuzzyCompare
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QVector4D)
. -
toString
See
operator<<(QDebug,
QVector4D) -
clone
Creates and returns a copy of this object.
See
QVector4D::
QVector4D(QVector4D) -
times
Overloaded function for
times(io.qt.gui.QMatrix4x4)
.
-