Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
unproject_ray.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include "unproject_ray.cpp"
+ Include dependency graph for unproject_ray.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 Derivedpos , typename Derivedmodel , typename Derivedproj , typename Derivedviewport , typename Deriveds , typename Deriveddir >
IGL_INLINE void igl::unproject_ray (const Eigen::PlainObjectBase< Derivedpos > &pos, const Eigen::PlainObjectBase< Derivedmodel > &model, const Eigen::PlainObjectBase< Derivedproj > &proj, const Eigen::PlainObjectBase< Derivedviewport > &viewport, Eigen::PlainObjectBase< Deriveds > &s, Eigen::PlainObjectBase< Deriveddir > &dir)
 dir direction of ray (d - s) where d is pos unprojected with z=1