Skip to content

PythonQt.QtGui.QVector4D

QVector4D

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

The QVector4D class can also be used to represent vertices in 4D space. We therefore do not need to provide a separate vertex class.

Source: https://doc.qt.io/archives/qt-5.15/qvector4d.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)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
dotProduct function (self, v1: Any, v2: Any) -> float X.dotProduct(v1, v2) -> float
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)
isNull function (self) -> bool X.isNull() -> bool
length function (self) -> float X.length() -> float
lengthSquared function (self) -> float X.lengthSquared() -> float
normalize function (self) -> None Normalizes the currect vector in place.
normalized function (self) -> Any X.normalized() -> PythonQt.QtGui.QVector4D
operator_subscript function (self, i: Any) -> float X.operator_subscript(i) -> float (shared captured text)
readFrom function (self, arg__1: Any) -> Any (shared captured text)
setW function (self, w: float) -> None Sets the w coordinate of this point to the given w coordinate.
setX function (self, x: float) -> None Sets the x coordinate of this point to the given x coordinate.
setY function (self, y: float) -> None Sets the y coordinate of this point to the given y coordinate.
setZ function (self, z: float) -> None Sets the z coordinate of this point to the given z coordinate.
toPoint function (self) -> Any X.toPoint() -> PythonQt.QtCore.QPoint
toPointF function (self) -> Any X.toPointF() -> PythonQt.QtCore.QPointF
toVector2D function (self) -> Any X.toVector2D() -> PythonQt.QtGui.QVector2D
toVector2DAffine function (self) -> Any X.toVector2DAffine() -> PythonQt.QtGui.QVector2D
toVector3D function (self) -> Any X.toVector3D() -> PythonQt.QtGui.QVector3D
toVector3DAffine function (self) -> Any X.toVector3DAffine() -> PythonQt.QtGui.QVector3D
w function (self) -> float X.w() -> float
writeTo function (self, arg__1: Any) -> Any (shared captured text)
x function (self) -> float X.x() -> float
y function (self) -> float X.y() -> float
z function (self) -> float X.z() -> float