Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
unproject_onto_mesh.h File Reference
#include "igl_inline.h"
#include "Hit.h"
#include <Eigen/Core>
#include <functional>
#include "unproject_onto_mesh.cpp"
+ Include dependency graph for unproject_onto_mesh.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedV , typename DerivedF , typename Derivedbc >
IGL_INLINE bool igl::unproject_onto_mesh (const Eigen::Vector2f &pos, const Eigen::Matrix4f &model, const Eigen::Matrix4f &proj, const Eigen::Vector4f &viewport, const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, int &fid, Eigen::PlainObjectBase< Derivedbc > &bc)
 
template<typename Derivedbc >
IGL_INLINE bool igl::unproject_onto_mesh (const Eigen::Vector2f &pos, const Eigen::Matrix4f &model, const Eigen::Matrix4f &proj, const Eigen::Vector4f &viewport, const std::function< bool(const Eigen::Vector3f &, const Eigen::Vector3f &, igl::Hit &) > &shoot_ray, int &fid, Eigen::PlainObjectBase< Derivedbc > &bc)