OmniGraph Node omni.graph.nodes.TransformVector

omni.graph.nodes.TransformVector Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Transform Vector

__categories

math:operator

Generated Class Name

OgnTransformVectorDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.TransformVector Description

Applies a transformation matrix to a row vector, returning the result. returns vector * matrix If the vector is one dimension smaller than the matrix (eg a 4x4 matrix and a 3d vector), The last component of the vector will be treated as a 1. The result is then projected back to a 3-vector. Supports mixed array inputs, eg a single matrix and an array of vectors.

omni.graph.nodes.TransformVector Inputs

Name

Type

Default

Required?

Descripton

inputs:matrix

[‘matrixd[3]’, ‘matrixd[3][]’, ‘matrixd[4]’, ‘matrixd[4][]’]

None

Y

The transformation matrix to be applied

uiName

Matrix

inputs:vector

[‘vectord[3]’, ‘vectord[3][]’, ‘vectorf[3]’, ‘vectorf[3][]’, ‘vectorh[3]’, ‘vectorh[3][]’]

None

Y

The row vector(s) to be translated

uiName

Vector

omni.graph.nodes.TransformVector Outputs

Name

Type

Default

Required?

Descripton

outputs:result

[‘vectord[3]’, ‘vectord[3][]’, ‘vectorf[3]’, ‘vectorf[3][]’, ‘vectorh[3]’, ‘vectorh[3][]’]

None

Y

The transformed row vector(s)

uiName

Result