PythonQt.Qt.QQuaternion
QQuaternion
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
Quaternions are used to represent rotations in 3D space, and consist of a 3D rotation axis specified by the x, y, and z coordinates, and a scalar representing the rotation angle.
Source: https://doc.qt.io/archives/qt-5.15/qquaternion.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
conjugate |
function | (self) -> Any |
X.conjugate() -> PythonQt.QtGui.QQuaternion (shared captured text) |
conjugated |
function | (self) -> Any |
X.conjugated() -> PythonQt.QtGui.QQuaternion (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
dotProduct |
function | (self, q1: Any, q2: Any) -> float |
X.dotProduct(q1, q2) -> float (shared captured text) |
fromAxes |
function | (self, xAxis: Any, yAxis: Any, zAxis: Any) -> Any |
X.fromAxes(xAxis, yAxis, zAxis) -> PythonQt.QtGui.QQuaternion (shared captured text) |
fromAxisAndAngle |
function | (self, x: Any, y: Any, z: Any, angle: float) -> Any |
X.fromAxisAndAngle(x, y, z, angle) -> PythonQt.QtGui.QQuaternion (shared captured text) |
fromDirection |
function | (self, direction: Any, up: Any) -> Any |
X.fromDirection(direction, up) -> PythonQt.QtGui.QQuaternion (shared captured text) |
fromEulerAngles |
function | (self, pitch: Any, yaw: Any, roll: Any) -> Any |
X.fromEulerAngles(pitch, yaw, roll) -> PythonQt.QtGui.QQuaternion (shared captured text) |
getAxes |
function | (self, xAxis: Any, yAxis: Any, zAxis: Any) -> None |
X.getAxes(xAxis, yAxis, zAxis) (shared captured text) |
getAxisAndAngle |
function | (self, x: Any, y: Any, z: Any, angle: Any) -> Any |
X.getAxisAndAngle(x, y, z, angle) (shared captured text) |
getEulerAngles |
function | (self, pitch: Any, yaw: Any, roll: Any) -> Any |
X.getEulerAngles(pitch, yaw, roll) (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
inverted |
function | (self) -> Any |
X.inverted() -> PythonQt.QtGui.QQuaternion (shared captured text) |
isIdentity |
function | (self) -> bool |
X.isIdentity() -> bool (shared captured text) |
isNull |
function | (self) -> bool |
X.isNull() -> bool (shared captured text) |
length |
function | (self) -> float |
X.length() -> float (shared captured text) |
lengthSquared |
function | (self) -> float |
X.lengthSquared() -> float (shared captured text) |
nlerp |
function | (self, q1: Any, q2: Any, t: float) -> Any |
X.nlerp(q1, q2, t) -> PythonQt.QtGui.QQuaternion (shared captured text) |
normalize |
function | (self) -> None |
Normalizes the current quaternion in place. (shared captured text) |
normalized |
function | (self) -> Any |
X.normalized() -> PythonQt.QtGui.QQuaternion (shared captured text) |
readFrom |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
rotatedVector |
function | (self, vector: Any) -> Any |
X.rotatedVector(vector) -> PythonQt.QtGui.QVector3D (shared captured text) |
rotationTo |
function | (self, *args: Any, **kwargs: Any) -> Any |
X.rotationTo(from, to) -> PythonQt.QtGui.QQuaternion (shared captured text) |
scalar |
function | (self) -> float |
X.scalar() -> float (shared captured text) |
setScalar |
function | (self, scalar: float) -> None |
Sets the scalar component of this quaternion to scalar. (shared captured text) |
setVector |
function | (self, x: Any, y: Any, z: Any) -> None |
X.setVector(x, y, z) (shared captured text) |
setX |
function | (self, x: float) -> None |
Sets the x coordinate of this quaternion's vector to the given x coordinate. (shared captured text) |
setY |
function | (self, y: float) -> None |
Sets the y coordinate of this quaternion's vector to the given y coordinate. (shared captured text) |
setZ |
function | (self, z: float) -> None |
Sets the z coordinate of this quaternion's vector to the given z coordinate. (shared captured text) |
slerp |
function | (self, q1: Any, q2: Any, t: float) -> Any |
X.slerp(q1, q2, t) -> PythonQt.QtGui.QQuaternion (shared captured text) |
toEulerAngles |
function | (self) -> Any |
X.toEulerAngles() -> PythonQt.QtGui.QVector3D (shared captured text) |
toVector4D |
function | (self) -> Any |
X.toVector4D() -> PythonQt.QtGui.QVector4D (shared captured text) |
vector |
function | (self) -> Any |
X.vector() -> PythonQt.QtGui.QVector3D (shared captured text) |
writeTo |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
x |
function | (self) -> float |
X.x() -> float (shared captured text) |
y |
function | (self) -> float |
X.y() -> float (shared captured text) |
z |
function | (self) -> float |
X.z() -> float (shared captured text) |