Vizard 7 » Command Index » Vizard objects » link » <link>.preQuat
7.6

<link>.preQuat

Create pre multiply quaternion operator

<link>.preQuat(  
[x,y,z,w]  
priority = 0  
target = viz.LINK_FULL_OP  
)  
[x,y,z,w]
Quaternion rotation
priority = 0
Priority of operator
target = viz.LINK_FULL_OP
One of the following values:

Link operator targets

viz.LINK_FULL_OP

The operator will be applied to combined data of the link.

viz.LINK_POS_OP

The operator will be applied to position data of the link.

viz.LINK_ORI_OP

The operator will be applied to orientation data of the link.

Remarks

This command will create an operator that will pre multiply the input matrix with the specified quaternion rotation.

Return Value

Operator object