Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtGui »

Classe « QQuaternion »

Informations générales

Héritage

builtins.object
    Object
        QQuaternion

Définition

class QQuaternion(Object):

Description [extrait de QQuaternion.__doc__]

QQuaternion(self) -> None
QQuaternion(self, scalar: float, vector: PySide6.QtGui.QVector3D) -> None
QQuaternion(self, scalar: float, xpos: float, ypos: float, zpos: float) -> None
QQuaternion(self, vector: PySide6.QtGui.QVector4D) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des opérateurs

Signature de l'opérateur Description
__add__(self, q2: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion __add__(self, q2: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion [extrait de __add__.__doc__]
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__iadd__(self, quaternion: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion __iadd__(self, quaternion: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion [extrait de __iadd__.__doc__]
__imul__ __imul__(self, factor: float) -> PySide6.QtGui.QQuaternion [extrait de __imul__.__doc__]
__isub__(self, quaternion: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion __isub__(self, quaternion: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion [extrait de __isub__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__mul__ __mul__(self, factor: float) -> PySide6.QtGui.QQuaternion [extrait de __mul__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__neg__(self) -> PySide6.QtGui.QQuaternion __neg__(self) -> PySide6.QtGui.QQuaternion [extrait de __neg__.__doc__]
__radd__(self, value) Return value+self. [extrait de __radd__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rmul__(self, value) Return value*self. [extrait de __rmul__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __rshift__.__doc__]
__rsub__(self, value) Return value-self. [extrait de __rsub__.__doc__]
__rtruediv__(self, value) Return value/self. [extrait de __rtruediv__.__doc__]
__sub__(self, q2: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion __sub__(self, q2: PySide6.QtGui.QQuaternion) -> PySide6.QtGui.QQuaternion [extrait de __sub__.__doc__]
__truediv__(self, value) Return self/value. [extrait de __truediv__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__reduce__(self) -> object __reduce__(self) -> object [extrait de __reduce__.__doc__]
__repr__(self) -> object __repr__(self) -> object [extrait de __repr__.__doc__]
conjugated(self) -> PySide6.QtGui.QQuaternion conjugated(self) -> PySide6.QtGui.QQuaternion [extrait de conjugated.__doc__]
dotProduct(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion) -> float dotProduct(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion) -> float [extrait de dotProduct.__doc__]
fromAxes(xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QQuaternion fromAxes(xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QQuaternion [extrait de fromAxes.__doc__]
fromAxisAndAngle fromAxisAndAngle(axis: PySide6.QtGui.QVector3D, angle: float) -> PySide6.QtGui.QQuaternion [extrait de fromAxisAndAngle.__doc__]
fromDirection(direction: PySide6.QtGui.QVector3D, up: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QQuaternion fromDirection(direction: PySide6.QtGui.QVector3D, up: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QQuaternion [extrait de fromDirection.__doc__]
fromEulerAngles fromEulerAngles(eulerAngles: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QQuaternion [extrait de fromEulerAngles.__doc__]
fromRotationMatrix(rot3x3: PySide6.QtGui.QMatrix3x3) -> PySide6.QtGui.QQuaternion fromRotationMatrix(rot3x3: PySide6.QtGui.QMatrix3x3) -> PySide6.QtGui.QQuaternion [extrait de fromRotationMatrix.__doc__]
getAxes(self, xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D) -> None getAxes(self, xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D) -> None [extrait de getAxes.__doc__]
inverted(self) -> PySide6.QtGui.QQuaternion inverted(self) -> PySide6.QtGui.QQuaternion [extrait de inverted.__doc__]
isIdentity(self) -> bool isIdentity(self) -> bool [extrait de isIdentity.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
length(self) -> float length(self) -> float [extrait de length.__doc__]
lengthSquared(self) -> float lengthSquared(self) -> float [extrait de lengthSquared.__doc__]
nlerp(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion, t: float) -> PySide6.QtGui.QQuaternion nlerp(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion, t: float) -> PySide6.QtGui.QQuaternion [extrait de nlerp.__doc__]
normalize(self) -> None normalize(self) -> None [extrait de normalize.__doc__]
normalized(self) -> PySide6.QtGui.QQuaternion normalized(self) -> PySide6.QtGui.QQuaternion [extrait de normalized.__doc__]
rotatedVector(self, vector: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QVector3D rotatedVector(self, vector: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QVector3D [extrait de rotatedVector.__doc__]
rotationTo(from_: PySide6.QtGui.QVector3D, to: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QQuaternion rotationTo(from_: PySide6.QtGui.QVector3D, to: PySide6.QtGui.QVector3D) -> PySide6.QtGui.QQuaternion [extrait de rotationTo.__doc__]
scalar(self) -> float scalar(self) -> float [extrait de scalar.__doc__]
setScalar(self, scalar: float) -> None setScalar(self, scalar: float) -> None [extrait de setScalar.__doc__]
setVector setVector(self, vector: PySide6.QtGui.QVector3D) -> None [extrait de setVector.__doc__]
setX(self, x: float) -> None setX(self, x: float) -> None [extrait de setX.__doc__]
setY(self, y: float) -> None setY(self, y: float) -> None [extrait de setY.__doc__]
setZ(self, z: float) -> None setZ(self, z: float) -> None [extrait de setZ.__doc__]
slerp(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion, t: float) -> PySide6.QtGui.QQuaternion slerp(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion, t: float) -> PySide6.QtGui.QQuaternion [extrait de slerp.__doc__]
toEulerAngles(self) -> PySide6.QtGui.QVector3D toEulerAngles(self) -> PySide6.QtGui.QVector3D [extrait de toEulerAngles.__doc__]
toRotationMatrix(self) -> PySide6.QtGui.QMatrix3x3 toRotationMatrix(self) -> PySide6.QtGui.QMatrix3x3 [extrait de toRotationMatrix.__doc__]
toVector4D(self) -> PySide6.QtGui.QVector4D toVector4D(self) -> PySide6.QtGui.QVector4D [extrait de toVector4D.__doc__]
vector(self) -> PySide6.QtGui.QVector3D vector(self) -> PySide6.QtGui.QVector3D [extrait de vector.__doc__]
x(self) -> float x(self) -> float [extrait de x.__doc__]
y(self) -> float y(self) -> float [extrait de y.__doc__]
z(self) -> float z(self) -> float [extrait de z.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce_ex__, __sizeof__, __str__