123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef IGL_PROJECT_H
- #define IGL_PROJECT_H
- #include "igl_inline.h"
- #include <Eigen/Dense>
- namespace igl
- {
-
-
-
-
-
-
-
-
- template <typename Scalar>
- IGL_INLINE Eigen::Matrix<Scalar,3,1> project(
- const Eigen::Matrix<Scalar,3,1>& obj,
- const Eigen::Matrix<Scalar,4,4>& model,
- const Eigen::Matrix<Scalar,4,4>& proj,
- const Eigen::Matrix<Scalar,4,1>& viewport);
-
-
-
-
-
-
-
- template <typename DerivedV, typename DerivedM, typename DerivedN, typename DerivedO, typename DerivedP>
- IGL_INLINE void project(
- const Eigen::MatrixBase<DerivedV>& V,
- const Eigen::MatrixBase<DerivedM>& model,
- const Eigen::MatrixBase<DerivedN>& proj,
- const Eigen::MatrixBase<DerivedO>& viewport,
- Eigen::PlainObjectBase<DerivedP> & P);
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "project.cpp"
- #endif
- #endif
|