Rotation Matrix to Translation-Rotation Vector

Description

Converts a 4x4 "Rotation-Translation Matrix" into a 6-element "Translation-Rotation Vector".

Overview

Produces a 6-element pose vector from a 4x4 transformation matrix.

Scenarios

Primarily used for data format alignment. Typically, after a 4x4 transformation matrix is calculated by an algorithm, it is converted into the translation-rotation vector form which is more commonly used in Epic Pro.

Inputs and Outputs

Inputs

Rotation-translation matrix: Rotation-translation matrix

Outputs

Translation-rotation vector: A 6-element pose array in the format [tx, ty, tz, rx, ry, rz]: tx, ty, and tz represent the translations along the X, Y, and Z axes of the coordinate system, respectively. Their units must match the input point-cloud coordinates; ATOM point-cloud workflows typically use millimeters (mm). rx, ry, and rz are the components of a Rodrigues rotation vector, in radians (rad), not Euler angles. The magnitude of the rotation vector represents the rotation angle, and its direction represents the rotation axis.