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's class QVector4D
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQVector4D
(float xpos, float ypos, float zpos, float wpos) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QVector4D
clone()
final QVector4D
div
(float divisor) final QVector4D
final QVector4D
divide
(float divisor) final QVector4D
static float
dotProduct
(QVector4D v1, QVector4D v2) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final float
get
(int i) int
hashCode()
final boolean
isNull()
final float
length()
final float
final QVector4D
final QVector4D
multiply
(float factor) final QVector4D
final void
final QVector4D
final QVector4D
void
readFrom
(QDataStream arg__1) final void
set
(int i, float value) 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) final QVector4D
times
(QMatrix4x4 matrix) final QVector4D
final QPoint
toPoint()
final QPointF
toPointF()
toString()
final QVector2D
final QVector2D
final QVector3D
final QVector3D
final 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
public QVector4D(float xpos, float ypos, float zpos, float wpos) -
QVector4D
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
length
-
lengthSquared
-
normalize
-
normalized
-
times
-
times
-
times
-
multiply
-
multiply
-
plus
-
add
-
unaryMinus
-
minus
-
subtract
-
div
-
div
-
divide
-
divide
-
writeTo
-
readFrom
-
get
-
set
-
setW
-
setX
-
setY
-
setZ
-
toPoint
-
toPointF
-
toVector2D
-
toVector2DAffine
-
toVector3D
-
toVector3DAffine
-
w
-
x
-
y
-
z
-
dotProduct
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-