Unproject

Unprojects a 3D vector or array of vectors projected to the screen.

Syntax

IppStatus ippmUnproject_m4v3_32f (const Ipp32f* pWorld, const Ipp32f* pView, const Ipp32f* pProj, const Ipp32f* pSrc, Ipp32f vpWidth, Ipp32f vpHeight, Ipp32f vpZnear, Ipp32f vpZfar, Ipp32f* pDst);

IppStatus ippmUnproject_m4v3a_32f (const Ipp32f* pWorld, const Ipp32f* pView, const Ipp32f* pProj, const Ipp32f* pSrc, int srcStride0, Ipp32f vpWidth, Ipp32f vpHeight, Ipp32f vpZnear, Ipp32f vpZfar, Ipp32f* pDst, int dstStride0, int count);

Parameters

pWorld
Pointer to the world matrix.
pView
Pointer to the viewport matrix.
pProj
Pointer to the projection matrix.
pSrc
Pointer to the source vector or array of vectors.
srcStride0
Stride between the vectors in the source array.
vpWidth
Width of the viewport.
vpHeight
Height of the viewport.
vpZnear
Minimum depth of the viewport.
vpZfar
Maximum depth of the viewport.
pDst
Pointer to the destination vector or array of vectors.
dstStride0
Stride between the vectors in the destination array.
count
The number of vectors in the arrays.

Description

The functions ippmUnproject_m4v3_32f and ippmUnproject_m4v3a_32f are declared in the ippm.h file. These functions unproject a 3D vector and an array of 3D vectors, respectively. The ippmUnproject_m4v3_32f function performs an inverse operation of the ippmProject_m4v3_32f function. The ippmUnproject_m4v3a_32f function performs an inverse operation of the ippmProject_m4v3a_32f function.

Return Values

ippStsNoErr

Indicates no parameter checking.

See Also


Submit feedback on this help topic

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