SbViewVolumeProjectFromScreen Method (SbVec3f, SbVec3f) |
Namespace: OIV.Inventor
The resulting Z coordinate represents the normalized distance at which the point would be back projected, ranging from 0 at the near clipping plane to 1 at the far clipping plane. This method is simply the inverse of ProjectToScreen(SbVec3f, SbVec3f). See also GetPlanePoint(Single, SbVec2f).
Note: This is a convenience function that calls the GetMatrix method and apply Inverse on it, then transforms the point. The GetMatrix and Inverse calls are somewhat expensive, so if you need to project a large number of points you should call these methods just once and apply the matrix to each point using MultVecMatrix(SbVec3f, SbVec3f).