8#ifndef IGL_UNPROJECT_ONTO_MESH 
    9#define IGL_UNPROJECT_ONTO_MESH 
   40  template < 
typename DerivedV, 
typename DerivedF, 
typename Derivedbc>
 
   42    const Eigen::Vector2f& pos,
 
   43    const Eigen::Matrix4f& model,
 
   44    const Eigen::Matrix4f& proj,
 
   45    const Eigen::Vector4f& viewport,
 
   46    const Eigen::MatrixBase<DerivedV> & V,
 
   47    const Eigen::MatrixBase<DerivedF> & F,
 
   49    Eigen::PlainObjectBase<Derivedbc> & bc);
 
   53  template <
typename Derivedbc>
 
   55    const Eigen::Vector2f& pos,
 
   56    const Eigen::Matrix4f& model,
 
   57    const Eigen::Matrix4f& proj,
 
   58    const Eigen::Vector4f& viewport,
 
   61        const Eigen::Vector3f&,
 
   62        const Eigen::Vector3f&,
 
   66    Eigen::PlainObjectBase<Derivedbc> & bc);
 
   68#ifndef IGL_STATIC_LIBRARY 
   69#  include "unproject_onto_mesh.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
bool unproject_onto_mesh(const Eigen::Vector2f &pos, const Eigen::Matrix4f &model, const Eigen::Matrix4f &proj, const Eigen::Vector4f &viewport, const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, int &fid, Eigen::PlainObjectBase< Derivedbc > &bc)
Unproject a screen location (using current opengl viewport, projection, and model view) to a 3D posit...
 
Reimplementation of the embree::Hit struct from embree1.0.
Definition Hit.h:18