Get Rotation Matrix

Gets the rotation matrix of the given matrix4d, rotation angles or quaternion value which represents a linear transformation. Returns the matrix3d rotation matrix.

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Input (inputs:matrix)

['matrixd[4]', 'matrixd[4][]', 'quatd[4]', 'quatd[4][]', 'vectord[3]', 'vectord[3][]']

The matrix, rotation angles or quaternion to extract the rotation from.

None

Rotation Order (inputs:rotationOrder)

token

The order the rotation should be applied when using rotation angles.

XYZ

Metadata

allowedTokens = XYZ,XZY,YXZ,YZX,ZXY,ZYX

Outputs

Name

Type

Descripton

Default

Rotation (outputs:rotation)

['matrixd[3]', 'matrixd[3][]']

The matrix representing the rotation of the transformation.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.GetMatrix4RotationMatrix

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Get Rotation Matrix

Categories

math:operator

Generated Class Name

OgnGetMatrix4RotationMatrixDatabase

Python Module

omni.graph.nodes