Synthesize Rotation

Description

This operator composes a pose using two direction vectors; that is, it uniquely determines a pose using a primary direction and an auxiliary reference direction.

Specifically, the operator uses the "Fixed Direction" as the baseline, and its direction remains unchanged in the final pose. Based on the "Reference Direction", it calculates the other two axes perpendicular to the primary direction and finally outputs the rotation vector.

Overview

Uniquely determines a pose using a fixed direction vector and a reference direction vector.

Scenarios

Suitable for scenarios where the target pose needs to be defined based on direction vectors.

Inputs and Outputs

Inputs

Fixed direction for pose generation: A list of one or more primary direction vectors.

Reference direction for pose generation: A list of one or more auxiliary reference direction vectors.

Outputs

Composed pose information: The list of output rotation vectors.

Parameters

Axis Represented by Fixed Direction

Description

Specifies which axis of the final output pose the input vector represents.

Tuning Instructions

For example, if "Z-axis" is selected, the input primary direction vector will become the Z-axis vector of the output pose.

Parameter Range

Values/Range:

  • X

  • Y

  • Z

Default: X

Axis Represented by Reference Direction

Description

Specifies which axis the input vector provides a reference direction for.

Tuning Instructions

Provides a second constraint for pose determination. The selected axis must differ from the axis vector represented by the "fixed direction".

Parameter Range

Values/Range:

  • X

  • Y

  • Z

Default: Y