#include <mesh_to_matrix.h>
Static Public Member Functions | |
static void | GetLaplacianEntry (MeshType &mesh, FaceType &f, std::vector< std::pair< int, int > > &index, std::vector< ScalarType > &entry, bool cotangent, ScalarType weight=1, bool vertexCoord=true) |
static void | GetLaplacianMatrix (MeshType &mesh, std::vector< std::pair< int, int > > &index, std::vector< ScalarType > &entry, bool cotangent, ScalarType weight=1, bool vertexCoord=true) |
static void | GetNormalData (const MeshType &mesh, MatrixXm &Nvert, MatrixXm &Nface) |
static void | GetTriEdgeAdjacency (const MeshType &mesh, Eigen::MatrixXi &EV, Eigen::MatrixXi &FE, Eigen::MatrixXi &EF) |
static void | GetTriFFAdjacency (MeshType &mesh, Eigen::MatrixXi &FFp, Eigen::MatrixXi &FFi) |
static void | GetTriMeshData (const MeshType &mesh, Eigen::MatrixXi &faces, MatrixXm &vert) |
static void | MassMatrixEntry (MeshType &m, std::vector< std::pair< int, int > > &index, std::vector< ScalarType > &entry, bool vertexCoord=true) |
template<class VecType > | |
static void | PerFaceArea (MeshType &m, VecType &h) |
template<class VecType > | |
static void | PerVertexArea (MeshType &m, VecType &h) |
static Eigen::Vector3d | VectorFromCoord (CoordType v) |
Private Types | |
typedef MeshType::CoordType | CoordType |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FaceType | FaceType |
typedef Eigen::Matrix < ScalarType, Eigen::Dynamic, Eigen::Dynamic > | MatrixXm |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexType | VertexType |
Static Private Member Functions | |
static void | GetTriEdgeAdjacency (const MatrixXm &V, const Eigen::MatrixXi &F, Eigen::MatrixXi &EV, Eigen::MatrixXi &FE, Eigen::MatrixXi &EF) |
Definition at line 36 of file mesh_to_matrix.h.
typedef MeshType::CoordType vcg::tri::MeshToMatrix< MeshType >::CoordType [private] |
Definition at line 45 of file mesh_to_matrix.h.
typedef MeshType::FaceIterator vcg::tri::MeshToMatrix< MeshType >::FaceIterator [private] |
Definition at line 42 of file mesh_to_matrix.h.
typedef MeshType::FaceType vcg::tri::MeshToMatrix< MeshType >::FaceType [private] |
Definition at line 41 of file mesh_to_matrix.h.
typedef Eigen::Matrix<ScalarType, Eigen::Dynamic, Eigen::Dynamic> vcg::tri::MeshToMatrix< MeshType >::MatrixXm [private] |
Definition at line 47 of file mesh_to_matrix.h.
typedef MeshType::ScalarType vcg::tri::MeshToMatrix< MeshType >::ScalarType [private] |
Definition at line 46 of file mesh_to_matrix.h.
typedef MeshType::VertexIterator vcg::tri::MeshToMatrix< MeshType >::VertexIterator [private] |
Definition at line 44 of file mesh_to_matrix.h.
typedef MeshType::VertexType vcg::tri::MeshToMatrix< MeshType >::VertexType [private] |
Definition at line 43 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::GetLaplacianEntry | ( | MeshType & | mesh, |
FaceType & | f, | ||
std::vector< std::pair< int, int > > & | index, | ||
std::vector< ScalarType > & | entry, | ||
bool | cotangent, | ||
ScalarType | weight = 1 , |
||
bool | vertexCoord = true |
||
) | [inline, static] |
Definition at line 291 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::GetLaplacianMatrix | ( | MeshType & | mesh, |
std::vector< std::pair< int, int > > & | index, | ||
std::vector< ScalarType > & | entry, | ||
bool | cotangent, | ||
ScalarType | weight = 1 , |
||
bool | vertexCoord = true |
||
) | [inline, static] |
Definition at line 352 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::GetNormalData | ( | const MeshType & | mesh, |
MatrixXm & | Nvert, | ||
MatrixXm & | Nface | ||
) | [inline, static] |
Definition at line 160 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::GetTriEdgeAdjacency | ( | const MatrixXm & | V, |
const Eigen::MatrixXi & | F, | ||
Eigen::MatrixXi & | EV, | ||
Eigen::MatrixXi & | FE, | ||
Eigen::MatrixXi & | EF | ||
) | [inline, static, private] |
Definition at line 49 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::GetTriEdgeAdjacency | ( | const MeshType & | mesh, |
Eigen::MatrixXi & | EV, | ||
Eigen::MatrixXi & | FE, | ||
Eigen::MatrixXi & | EF | ||
) | [inline, static] |
Definition at line 206 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::GetTriFFAdjacency | ( | MeshType & | mesh, |
Eigen::MatrixXi & | FFp, | ||
Eigen::MatrixXi & | FFi | ||
) | [inline, static] |
Definition at line 180 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::GetTriMeshData | ( | const MeshType & | mesh, |
Eigen::MatrixXi & | faces, | ||
MatrixXm & | vert | ||
) | [inline, static] |
Definition at line 137 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::MassMatrixEntry | ( | MeshType & | m, |
std::vector< std::pair< int, int > > & | index, | ||
std::vector< ScalarType > & | entry, | ||
bool | vertexCoord = true |
||
) | [inline, static] |
Definition at line 247 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::PerFaceArea | ( | MeshType & | m, |
VecType & | h | ||
) | [inline, static] |
Definition at line 238 of file mesh_to_matrix.h.
static void vcg::tri::MeshToMatrix< MeshType >::PerVertexArea | ( | MeshType & | m, |
VecType & | h | ||
) | [inline, static] |
Definition at line 224 of file mesh_to_matrix.h.
static Eigen::Vector3d vcg::tri::MeshToMatrix< MeshType >::VectorFromCoord | ( | CoordType | v | ) | [inline, static] |
Definition at line 217 of file mesh_to_matrix.h.