libigl v2.5.0
Loading...
Searching...
No Matches
unproject_on_plane.h
Go to the documentation of this file.
1#ifndef IGL_UNPROJECT_ON_PLANE_H
2#define IGL_UNPROJECT_ON_PLANE_H
3
4#include <Eigen/Core>
5
6namespace igl
7{
17 template <
18 typename DerivedUV,
19 typename DerivedM,
20 typename DerivedVP,
21 typename DerivedP,
22 typename DerivedZ>
24 const Eigen::MatrixBase<DerivedUV> & UV,
25 const Eigen::MatrixBase<DerivedM> & M,
26 const Eigen::MatrixBase<DerivedVP> & VP,
27 const Eigen::MatrixBase<DerivedP> & P,
28 Eigen::PlainObjectBase<DerivedZ> & Z);
29}
30
31#ifndef IGL_STATIC_LIBRARY
32# include "unproject_on_plane.cpp"
33#endif
34
35#endif
Definition AABB.h:17
void unproject_on_plane(const Eigen::MatrixBase< DerivedUV > &UV, const Eigen::MatrixBase< DerivedM > &M, const Eigen::MatrixBase< DerivedVP > &VP, const Eigen::MatrixBase< DerivedP > &P, Eigen::PlainObjectBase< DerivedZ > &Z)
Given a screen space point (u,v) and the current projection matrix (e.g.