libigl v2.5.0
Loading...
Searching...
No Matches
unproject.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include "unproject.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename Derivedwin, typename Derivedmodel, typename Derivedproj, typename Derivedviewport, typename Derivedscene>
void igl::unproject (const Eigen::MatrixBase< Derivedwin > &win, const Eigen::MatrixBase< Derivedmodel > &model, const Eigen::MatrixBase< Derivedproj > &proj, const Eigen::MatrixBase< Derivedviewport > &viewport, Eigen::PlainObjectBase< Derivedscene > &scene)
 Eigen reimplementation of gluUnproject.
template<typename Scalar>
Eigen::Matrix< Scalar, 3, 1 > igl::unproject (const Eigen::Matrix< Scalar, 3, 1 > &win, const Eigen::Matrix< Scalar, 4, 4 > &model, const Eigen::Matrix< Scalar, 4, 4 > &proj, const Eigen::Matrix< Scalar, 4, 1 > &viewport)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.