#include "../../igl_inline.h"
#include <Eigen/Core>
#include <vector>
#include "map_texture.cpp"
Go to the source code of this file.
|
template<typename DerivedV , typename DerivedF , typename DerivedU > |
bool | igl::opengl::glfw::map_texture (const Eigen::MatrixBase< DerivedV > &_V, const Eigen::MatrixBase< DerivedF > &_F, const Eigen::MatrixBase< DerivedU > &_U, const unsigned char *in_data, const int w, const int h, const int nc, std::vector< unsigned char > &out_data, int &out_w, int &out_h, int &out_nc) |
| Given a mesh (V,F) in [0,1]² and new positions (U) and a texture image (in_data), render a new image (out_data) of the same size.
|
|
template<typename DerivedV , typename DerivedF , typename DerivedU > |
bool | igl::opengl::glfw::map_texture (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedU > &U, const unsigned char *in_data, const int w, const int h, const int nc, std::vector< unsigned char > &out_data) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|