MeshLib Documentation
Loading...
Searching...
No Matches
MRMeshEigen.h File Reference
#include "MRMeshFwd.h"
#include "MRPch/MRBindingMacros.h"
#include <MRPch/MREigenCore.h>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MR_BIND_IGNORE MRMESH_API MeshTopology MR::topologyFromEigen (const Eigen::MatrixXi &F)
 constructs mesh topology from N*3 matrix of vertex indices
 
MR_BIND_IGNORE MRMESH_API Mesh MR::meshFromEigen (const Eigen::MatrixXd &V, const Eigen::MatrixXi &F)
 constructs mesh from M*3 matrix of coordinates and N*3 matrix of vertex indices
 
MR_BIND_IGNORE MRMESH_API void MR::pointsFromEigen (const Eigen::MatrixXd &V, const VertBitSet &selection, VertCoords &points)
 replace selected points with the values from V
 
MR_BIND_IGNORE MRMESH_API void MR::topologyToEigen (const MeshTopology &topology, Eigen::MatrixXi &F)
 converts valid faces from mesh topology into N*3 matrix of vertex indices
 
MR_BIND_IGNORE MRMESH_API void MR::meshToEigen (const Mesh &mesh, Eigen::MatrixXd &V, Eigen::MatrixXi &F)
 converts mesh into M*3 matrix of coordinates and N*3 matrix of vertex indices