java.lang.Object
io.qt.QtObject
io.qt.gui.QVector3D
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a vector or vertex in 3D space
Java wrapper for Qt class QVector3D
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QVector3D
clone()
Creates and returns a copy of this object.static QVector3D
crossProduct
(QVector3D v1, QVector3D v2) final float
distanceToLine
(QVector3D point, QVector3D direction) final float
distanceToPlane
(QVector3D plane, QVector3D normal) final float
distanceToPlane
(QVector3D plane1, QVector3D plane2, QVector3D plane3) final float
distanceToPoint
(QVector3D point) final QVector3D
div
(float divisor) Seeoperator/(QVector3D,
float) final QVector3D
Seeoperator/(QVector3D,
QVector3D) final QVector3D
divide
(float divisor) final QVector3D
static float
dotProduct
(QVector3D v1, QVector3D v2) boolean
final float
get
(int i) int
hashCode()
Returns the objects's hash code computed byqHash(QVector3D)
.final boolean
isNull()
final float
length()
final float
final QVector3D
final QVector3D
multiply
(float factor) final QVector3D
static QVector3D
static QVector3D
final void
final QVector3D
final QVector3D
final QVector3D
project
(QMatrix4x4 modelView, QMatrix4x4 projection, QRect viewport) void
readFrom
(QDataStream arg__1) final void
set
(int i, float value) SeeQVector3D::
operator[](int) final void
setX
(float x) final void
setY
(float y) final void
setZ
(float z) final QVector3D
final QVector3D
times
(float factor) Seeoperator*(QVector3D,
float) final QVector3D
times
(QMatrix4x4 matrix) Deprecated.Extend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplyingfinal QVector3D
Seeoperator*(QVector3D,
QVector3D) final QPoint
toPoint()
final QPointF
toPointF()
toString()
Seeoperator<<(QDebug,
QVector3D) final QVector2D
final QVector4D
final QVector3D
Seeoperator-(QVector3D)
final QVector3D
unproject
(QMatrix4x4 modelView, QMatrix4x4 projection, QRect viewport) 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
-
QVector3D
public QVector3D() -
QVector3D
-
QVector3D
-
QVector3D
-
QVector3D
-
QVector3D
-
QVector3D
public QVector3D(float xpos, float ypos, float zpos)
-
-
Method Details
-
distanceToLine
-
distanceToPlane
-
distanceToPlane
@QtUninvokable public final float distanceToPlane(QVector3D plane1, QVector3D plane2, QVector3D plane3) -
distanceToPoint
-
isNull
-
length
-
lengthSquared
-
normalize
-
normalized
-
times
See
operator*(QVector3D,
QVector3D) -
times
Deprecated.Extend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplyingSee
operator*(QVector3D,
QMatrix4x4) -
times
See
operator*(QVector3D,
float) -
multiply
-
multiply
-
plus
-
add
-
unaryMinus
See
operator-(QVector3D)
-
minus
-
subtract
-
div
See
operator/(QVector3D,
QVector3D) -
div
See
operator/(QVector3D,
float) -
divide
-
divide
-
writeTo
-
readFrom
-
get
-
set
See
QVector3D::
operator[](int) -
project
@QtUninvokable public final QVector3D project(QMatrix4x4 modelView, QMatrix4x4 projection, QRect viewport) -
setX
-
setY
-
setZ
-
toPoint
-
toPointF
-
toVector2D
-
toVector4D
-
unproject
@QtUninvokable public final QVector3D unproject(QMatrix4x4 modelView, QMatrix4x4 projection, QRect viewport) -
x
-
y
-
z
-
crossProduct
-
dotProduct
-
normal
-
normal
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QVector3D)
. -
toString
See
operator<<(QDebug,
QVector3D) -
clone
Creates and returns a copy of this object.
-