Translation

Computes the 4x4 translation matrix.

Syntax

IppStatus ippmTranslation_m4_32f (Ipp32f sx, Ipp32f sy, Ipp32f sz, Ipp32f* pDst);

Parameters

px, py, pz
x, y, and z components of the translation, respectively.
pDst
Pointer to the translation matrix dst.

Description

The function ippmTranslation_m4_32f is declared in the ippm.h file. This function computes the 4x4 translation matrix for the given translation components, as follows:

         | 1  0  0  sx |

   dst = | 0  1  0  sy |

         | 0  0  1  sz |

         | 0  0  0  1  |

Return Values

ippStsNoErr

Indicates no error.

See Also


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.