Affine transformation for 3D containing a transformation matrix and a translation vector. More...
Inherits object.
Public Member Functions | |
| None | AffineMatrix3D (self, cvb.Matrix3D matrix, cvb.Point3D translation) |
| Defines a transformation. More... | |
| cvb.AffineMatrix3D | identity () |
| An identity transformation. More... | |
| None | inverse (self) |
| Gets the inverse of this transformation if possible. More... | |
| None | invert (self) |
| Inverts this transformation in-place if possible. More... | |
Properties | |
| det = property | |
| float: Transformation determinant. | |
| is_translation = property | |
| bool: Checks if this transformation describes a translation. | |
| matrix = property | |
| cvb.Matrix3D: Gets or sets the matrix part of the transformation. | |
| translation = property | |
| cvb.Point3D: Gets or sets the translation part of the transformation. | |
Affine transformation for 3D containing a transformation matrix and a translation vector.
No perspective transformation is possible, only translation, rotation, scaling and shear.
| None AffineMatrix3D | ( | self, | |
| cvb.Matrix3D | matrix, | ||
| cvb.Point3D | translation | ||
| ) |
Defines a transformation.
matrix : cvb.Matrix3D The matrix part.
translation : cvb.Point3D The translation part.
| cvb.AffineMatrix3D identity | ( | ) |
| None inverse | ( | self | ) |
Gets the inverse of this transformation if possible.
Might cause division by zero.
| None invert | ( | self | ) |
Inverts this transformation in-place if possible.
Might cause division by zero.