|
Euclid
Geometry Processing and Shape Analysis in C++
|
Convert to and from Eigen mesh. More...
Functions | |
| template<int N, typename DerivedV , typename DerivedF , typename FT , typename IT > | |
| void | Euclid::make_mesh (Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, const std::vector< FT > &positions, const std::vector< IT > &indices) |
| Create a matrix representation of mesh from positions and indices. | |
| template<int N, typename DerivedV , typename DerivedF , typename FT , typename IT > | |
| void | Euclid::extract_mesh (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, std::vector< FT > &positions, std::vector< IT > &indices) |
| Extract positions and indices from mesh matrices. | |
| template<typename DerivedV , typename FT > | |
| void | Euclid::extract_mesh (const Eigen::MatrixBase< DerivedV > &V, std::vector< FT > &positions) |
| Extract positions from position matrix. More... | |
This package provides functions to make Eigen mesh from raw buffers and vice versa.
Matrix-based representation are used in libigl.
| void Euclid::extract_mesh | ( | const Eigen::MatrixBase< DerivedV > & | V, |
| std::vector< FT > & | positions | ||
| ) |
This function is helpful when the mesh positions are changed but topology remains the same.