Conventions and frame mappings
Orientation data requires a frame direction, vector convention, component order, and angle convention. These definitions specify the converter’s choices.
Passive and active rotations
A passive transformation changes a fixed vector’s coordinates from frame to frame : . Its inverse is .
An active rotation moves a vector within a fixed frame. For the same axis and angle, . A positive active quarter-turn about maps to . The paired passive matrix maps it to .
Identify world, body, sensor, and camera frames from the data source. Transposing a valid orthogonal mapping reverses its direction; frame assignments remain the user’s responsibility.
Elementary passive matrices
For angle in radians, let and . These matrices define positive passive rotations about , , and . Their transposes define the paired active rotations. Their signs determine the Euler, quaternion, and axis-angle formulas.
Euler products and sequential composition
Sequence gives . Thus angles , , give . The rightmost factor acts first on a column vector. This product specifies the convention.
Sequence mode starts with identity and multiplies each new step on the left. Step 1 is the rightmost factor. Changing step order generally changes the result because matrix multiplication is noncommutative.
Adjacent frame labels must agree: maps coordinates to . Invert transposes a step; this gives its inverse when the step is orthogonal. Scale and shear remain in the transposed matrix.
Each step retains its input method’s convention. Individual Entry follows Passive/Active. Paste Text constructs passive non-matrix steps. Check these paths when mixing methods in Active mode.
Input and output behavior in Active mode
Let be the passive matrix constructed from quaternion, Euler, or axis-angle parameters, the stored matrix, and the displayed matrix. Passive output uses ; Active output uses . Quaternion and axis-angle outputs are extracted from .
Interactive parameters give in Passive mode and in Active mode. Bulk Import and sequence Paste Text give . Matrix input stores the entered matrix unchanged in both modes.
Passive Euler output extracts sequence and displays . Active output extracts the reversed sequence , then reverses the values for display. Active values in selector order therefore satisfy .
Interactive Active input degrees with selector displays . Pasting the same numbers in Active mode displays . Each result follows its input transpose and extraction path.
Eigen and Python Euler exports include an Order comment with the extraction sequence. In Active mode it reverses the selector; displayed values follow selector order and the product above. Changing Passive/Active updates output interpretation of stored . Reconvert to apply the choice to the input path.
| Input method | Mode | Stored | Displayed |
|---|---|---|---|
| Interactive parameters | Passive | ||
| Interactive parameters | Active | ||
| Bulk parameters | Passive | ||
| Bulk parameters | Active | ||
| Entered matrix | Passive | ||
| Entered matrix | Active |
Interpreting the visualization
Dashed axes show the fixed reference frame. Solid red, green, and blue axes show rotated , , and . The renderer draws rows of its animation matrix in Passive mode and columns in Active mode. Animation uses its own matrix, separate from output .
Manual animation follows the Euler decomposition in the output sequence. Sequence-mode results use this same decomposition. Near the singular-branch tolerance, reconstructing the animation matrix from extracted angles can shift its endpoint slightly.
Dragging and NED/NWU presets change the camera view. Establish imported data’s frame conventions from its source.