Designed to contain translation and rotation data of the positional tracking.
More...
|
def | init_transform (self, Transform motion) |
| Deep copy from another Transform. More...
|
|
def | init_matrix (self, Matrix4f matrix) |
| Inits Transform from a Matrix4f. More...
|
|
def | init_rotation_translation (self, Rotation rot, Translation tr) |
| Inits Transform from a Rotation and a Translation . More...
|
|
def | init_orientation_translation (self, Orientation orient, Translation tr) |
| Inits Transform from a Orientation and a Translation . More...
|
|
def | set_rotation_matrix (self, Rotation py_rotation) |
| Sets the rotation of the current Transform from a Rotation . More...
|
|
def | get_rotation_matrix (self) |
| Returns the Rotation of the current Transform . More...
|
|
def | set_translation (self, Translation py_translation) |
| Sets the translation of the current Transform from a Translation . More...
|
|
def | get_translation (self) |
| Returns the Translation of the current Transform . More...
|
|
def | set_orientation (self, Orientation py_orientation) |
| Sets the orientation of the current Transform from an Orientation . More...
|
|
def | get_orientation (self) |
| Returns the Orientation of the current Transform . More...
|
|
def | get_rotation_vector (self) |
| Returns the 3x1 rotation vector obtained from 3x3 rotation matrix using Rodrigues formula. More...
|
|
def | set_rotation_vector (self, float input0, float input1, float input2) |
| Sets the Rotation 3x3 of the Transform with a 3x1 rotation vector (using Rodrigues' transformation). More...
|
|
def | get_euler_angles (self, radian=True) |
| Converts the Rotation of the Transform as Euler angles. More...
|
|
def | set_euler_angles (self, float input0, float input1, float input2, radian=True) |
| Sets the Rotation of the Transform from the Euler angles. More...
|
|
def | inverse (self) |
| Inverses the matrix.
|
|
def | inverse_mat (self, Matrix4f rotation) |
| Inverses the Matrix4f passed as a parameter. More...
|
|
def | transpose (self) |
| Sets the Matrix4f to its transpose.
|
|
def | transpose_mat (self, Matrix4f rotation) |
| Returns the transpose of a Matrix4f. More...
|
|
def | set_identity (self) |
| Sets the Matrix4f to identity. More...
|
|
def | identity (self) |
| Creates an identity Matrix4f. More...
|
|
def | set_zeros (self) |
| Sets the Matrix4f to zero.
|
|
def | zeros (self) |
| Creates a Matrix4f filled with zeros. More...
|
|
def | get_infos (self) |
| Returns the components of the Matrix4f in a string. More...
|
|
def | set_sub_matrix3f (self, Matrix3f input, row=0, column=0) |
| Sets a 3x3 Matrix inside the Matrix4f. More...
|
|
def | set_sub_vector3f (self, float input0, float input1, float input2, column=3) |
| Sets a 3x1 Vector inside the Matrix4f at the specifided column index. More...
|
|
def | set_sub_vector4f (self, float input0, float input1, float input2, float input3, column=3) |
| Sets a 4x1 Vector inside the Matrix4f at the specifided column index. More...
|
|
def | matrix_name (self) |
| Returns the name of the matrix (optional).
|
|
def | m (self) |
| Access to the content of the Matrix4f as a numpy array or list.
|
|
Designed to contain translation and rotation data of the positional tracking.
It contains the orientation as well. It can be used to create any type of Matrix4x4 or Matrix4f that must be specifically used for handling a rotation and position information (OpenGL, Tracking...). It inherits from the generic Matrix4f .