MeshLib
 
Loading...
Searching...
No Matches
MRMeshEigen.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include <MRPch/MREigenCore.h>
5
6namespace MR
7{
8
12
14MRMESH_API MeshTopology topologyFromEigen( const Eigen::MatrixXi & F );
15
17MRMESH_API Mesh meshFromEigen( const Eigen::MatrixXd & V, const Eigen::MatrixXi & F );
18
20MRMESH_API void pointsFromEigen( const Eigen::MatrixXd & V, const VertBitSet & selection, VertCoords & points );
21
23MRMESH_API void topologyToEigen( const MeshTopology & topology, Eigen::MatrixXi & F );
24
26MRMESH_API void meshToEigen( const Mesh & mesh, Eigen::MatrixXd & V, Eigen::MatrixXi & F );
27
29
30} // namespace MR
List< Vector3f^> VertCoords
Definition MRDotNet/MRMeshFwd.h:95
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRDotNet/MRBitSet.h:39
Definition MRMesh/MRMeshTopology.h:18
MRMESH_API void 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
MRMESH_API void pointsFromEigen(const Eigen::MatrixXd &V, const VertBitSet &selection, VertCoords &points)
replace selected points with the values from V
MRMESH_API void topologyToEigen(const MeshTopology &topology, Eigen::MatrixXi &F)
converts valid faces from mesh topology into N*3 matrix of vertex indices
MRMESH_API MeshTopology topologyFromEigen(const Eigen::MatrixXi &F)
constructs mesh topology from N*3 matrix of vertex indices
MRMESH_API Mesh meshFromEigen(const Eigen::MatrixXd &V, const Eigen::MatrixXi &F)
constructs mesh from M*3 matrix of coordinates and N*3 matrix of vertex indices
Definition MRCameraOrientationPlugin.h:7
Definition MRMesh/MRMesh.h:23