Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
|
Functions | |
def | get_euler_angles |
Converts a rotation matrix to the Euler angles yaw, pitch and roll. More... | |
def | get_yaw |
Extracts the yaw (head) rotation from a rotation matrix. More... | |
def | get_rotation_between_vectors |
Returns the rotation matrix of the rotation between two input vectors. More... | |
def | euclidean_distance |
Returns the Euclidean distance between two points. More... | |
def lib-server.Tools.euclidean_distance | ( | POINT1, | |
POINT2 | |||
) |
Returns the Euclidean distance between two points.
POINT1 | Starting point. |
POINT2 | End point. |
def lib-server.Tools.get_euler_angles | ( | MATRIX | ) |
Converts a rotation matrix to the Euler angles yaw, pitch and roll.
MATRIX | The rotation matrix to be converted. |
def lib-server.Tools.get_rotation_between_vectors | ( | VEC1, | |
VEC2 | |||
) |
Returns the rotation matrix of the rotation between two input vectors.
VEC1 | First vector. |
VEC2 | Second vector. |
def lib-server.Tools.get_yaw | ( | MATRIX | ) |
Extracts the yaw (head) rotation from a rotation matrix.
MATRIX | The rotation matrix to extract the angle from. |