java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QQuaternion
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QQuaternion extends QtObject implements Cloneable
Represents a quaternion consisting of a vector and scalar
Java wrapper for Qt class QQuaternion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QQuaternion.Axes
static class
QQuaternion.AxisAndAngle
static class
QQuaternion.EulerAngles
-
Constructor Summary
Constructors Modifier Constructor Description QQuaternion()
QQuaternion(float scalar, float xpos, float ypos, float zpos)
QQuaternion(float scalar, QVector3D vector)
QQuaternion(QVector4D vector)
protected
QQuaternion(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Constructor Details
-
QQuaternion
public QQuaternion() -
QQuaternion
-
QQuaternion
-
QQuaternion
public QQuaternion(float scalar, float xpos, float ypos, float zpos) -
QQuaternion
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
conjugate
Deprecated. -
conjugated
-
getAxes
-
getAxisAndAngle
-
getEulerAngles
-
inverted
-
isIdentity
-
isNull
-
length
-
lengthSquared
-
normalize
-
normalized
-
multiply
-
multiply
-
add
-
subtract
-
divide
-
writeTo
-
readFrom
-
rotatedVector
-
scalar
-
setScalar
-
setVector
-
setVector
-
setX
-
setY
-
setZ
-
toEulerAngles
-
toRotationMatrix
-
toVector4D
-
vector
-
x
-
y
-
z
-
dotProduct
-
fromAxes
-
fromAxisAndAngle
-
fromAxisAndAngle
-
fromDirection
-
fromEulerAngles
-
fromEulerAngles
-
fromRotationMatrix
-
nlerp
-
rotationTo
-
slerp
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
toString
-
clone
-