Vizard 8 » Command Index » Vizard objects » link » <link>.preTrans
8.0

<link>.preTrans

Create pre multiply translate operator

<link>.preTrans(  
[x,y,z]  
priority = 0  
target = viz.LINK_FULL_OP  
)  
[x,y,z]
Translation
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 translation.

Return Value

Operator object