- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a vector or vertex in 3D space
Java wrapper for Qt class QVector3D
-
Constructor Summary
ConstructorDescriptionQVector3D
(float xpos, float ypos, float zpos) SeeQVector3D::
QVector3D(QVector3D) -
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) final boolean
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) final QVector3D
project
(QMatrix4x4 modelView, QTransform projection, QRect viewport) Overloaded function forproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
.final QVector3D
project
(QTransform modelView, QMatrix4x4 projection, QRect viewport) Overloaded function forproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
.final QVector3D
project
(QTransform modelView, QTransform projection, QRect viewport) Overloaded function forproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
.static boolean
qFuzzyCompare
(QVector3D v1, QVector3D v2) void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QVector3D&) 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
times
(QTransform 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) final QVector3D
unproject
(QMatrix4x4 modelView, QTransform projection, QRect viewport) Overloaded function forunproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
.final QVector3D
unproject
(QTransform modelView, QMatrix4x4 projection, QRect viewport) Overloaded function forunproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
.final QVector3D
unproject
(QTransform modelView, QTransform projection, QRect viewport) Overloaded function forunproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
.void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QVector3D) 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
See
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
Deprecated.Extend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplyingSee
operator*(QVector3D,
QMatrix4x4) -
times
See
operator*(QVector3D,
QVector3D) -
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
See
operator<<(QDataStream&,
QVector3D) -
equals
-
readFrom
See
operator>>(QDataStream&,
QVector3D&) -
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
-
qFuzzyCompare
-
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.
See
QVector3D::
QVector3D(QVector3D) -
times
Deprecated.Extend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplyingOverloaded function for
times(io.qt.gui.QMatrix4x4)
. -
project
@QtUninvokable public final QVector3D project(QTransform modelView, QMatrix4x4 projection, QRect viewport) Overloaded function for
project(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
. -
project
@QtUninvokable public final QVector3D project(QMatrix4x4 modelView, QTransform projection, QRect viewport) Overloaded function for
project(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
. -
project
@QtUninvokable public final QVector3D project(QTransform modelView, QTransform projection, QRect viewport) Overloaded function for
project(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
. -
unproject
@QtUninvokable public final QVector3D unproject(QTransform modelView, QMatrix4x4 projection, QRect viewport) Overloaded function for
unproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
. -
unproject
@QtUninvokable public final QVector3D unproject(QMatrix4x4 modelView, QTransform projection, QRect viewport) Overloaded function for
unproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
. -
unproject
@QtUninvokable public final QVector3D unproject(QTransform modelView, QTransform projection, QRect viewport) Overloaded function for
unproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)
.
-