PythonQt.Qt.QMatrix4x4
QMatrix4x4
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
The QMatrix4x4 class in general is treated as a row-major matrix, in that the constructors and operator() functions take data in row-major format, as is familiar in C-style usage.
Internally the data is stored as column-major format, so as to be optimal for passing to OpenGL functions, which expect column-major data.
When using these functions be aware that they return data in column-major format:
Source: https://doc.qt.io/archives/qt-5.15/qmatrix4x4.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) |
column |
function | (self, index: int) -> Any |
X.column(index) -> PythonQt.QtGui.QVector4D (shared captured text) |
constData |
function | (self) -> float |
X.constData() -> float (shared captured text) |
copyDataTo |
function | (self, values: Any) -> float |
Retrieves the 16 items in this matrix and copies them to values in row-major order. (shared captured text) |
data |
function | (self) -> float |
X.data() -> float (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
determinant |
function | (self) -> float |
X.determinant() -> float (shared captured text) |
fill |
function | (self, value: float) -> None |
Fills all elements of this matrx with value. (shared captured text) |
flipCoordinates |
function | (self) -> None |
(shared captured text) |
frustum |
function | (self, left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float) -> None |
X.frustum(left, right, bottom, top, nearPlane, farPlane) (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, invertible: Any) -> Any |
X.inverted(invertible) -> PythonQt.QtGui.QMatrix4x4 (shared captured text) |
isAffine |
function | (self) -> bool |
X.isAffine() -> bool (shared captured text) |
isIdentity |
function | (self) -> bool |
X.isIdentity() -> bool (shared captured text) |
lookAt |
function | (self, eye: Any, center: Any, up: Any) -> None |
X.lookAt(eye, center, up) (shared captured text) |
map |
function | (self, point: Any) -> Any |
X.map(point) -> PythonQt.QtCore.QPoint (shared captured text) |
mapRect |
function | (self, rect: Any) -> Any |
X.mapRect(rect) -> PythonQt.QtCore.QRect (shared captured text) |
mapVector |
function | (self, vector: Any) -> Any |
X.mapVector(vector) -> PythonQt.QtGui.QVector3D (shared captured text) |
operator_cast_ |
function | (self, row: Any, column: Any) -> float |
X.operator_cast_(row, column) -> float (shared captured text) |
optimize |
function | (self) -> None |
Optimize the usage of this matrix from its current elements. (shared captured text) |
ortho |
function | (self, left: Any, right: Any, bottom: Any, top: Any, nearPlane: Any, farPlane: Any) -> None |
X.ortho(left, right, bottom, top, nearPlane, farPlane) (shared captured text) |
perspective |
function | (self, verticalAngle: float, aspectRatio: float, nearPlane: float, farPlane: float) -> None |
X.perspective(verticalAngle, aspectRatio, nearPlane, farPlane) (shared captured text) |
readFrom |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
rotate |
function | (self, angle: Any, x: Any, y: Any, z: Any) -> None |
X.rotate(angle, x, y, z) (shared captured text) |
row |
function | (self, index: int) -> Any |
X.row(index) -> PythonQt.QtGui.QVector4D (shared captured text) |
scale |
function | (self, x: Any, y: Any, z: Any) -> None |
X.scale(x, y, z) (shared captured text) |
setColumn |
function | (self, index: int, value: Any) -> None |
X.setColumn(index, value) (shared captured text) |
setRow |
function | (self, index: int, value: Any) -> None |
X.setRow(index, value) (shared captured text) |
setToIdentity |
function | (self) -> None |
Sets this matrix to the identity. (shared captured text) |
toAffine |
function | (self) -> Any |
X.toAffine() -> PythonQt.QtGui.QMatrix (shared captured text) |
toTransform |
function | (self, distanceToPlane: Any) -> Any |
X.toTransform(distanceToPlane) -> PythonQt.QtGui.QTransform (shared captured text) |
translate |
function | (self, x: Any, y: Any, z: Any) -> None |
X.translate(x, y, z) (shared captured text) |
transposed |
function | (self) -> Any |
X.transposed() -> PythonQt.QtGui.QMatrix4x4 (shared captured text) |
viewport |
function | (self, left: Any, bottom: Any, width: Any, height: Any, nearPlane: Any, farPlane: Any) -> None |
X.viewport(left, bottom, width, height, nearPlane, farPlane) (shared captured text) |
writeTo |
function | (self, arg__1: Any) -> Any |
(shared captured text) |