Affine transformation for 3D containing a transformation matrix and a translation vector. More...
Public Member Functions | |
| cvb.AffineMatrix3D | identity () |
| An identity transformation. | |
| None | inverse (self) |
| Gets the inverse of this transformation if possible. | |
| None | invert (self) |
| Inverts this transformation in-place if possible. | |
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.
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.