5#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
7typedef OpenMesh::PolyMesh_ArrayKernelT<> MeshType;
21 VertexMapping(
const VertexMapping& other) =
default;
22 VertexMapping& operator=(
const VertexMapping& other) =
default;
25 VertexMapping operator+(
const VertexMapping& other)
const;
26 VertexMapping operator-(
const VertexMapping& other)
const;
27 VertexMapping operator*(
double scalar)
const;
28 VertexMapping operator/(
double scalar)
const;
29 VertexMapping operator-()
const;
35 std::vector<MeshType::VertexHandle>
indices;
std::vector< double > mapping
The weights associated with each vertex in indices. The weights should sum to 1.0.
Definition VertexMapping.hpp:42
std::vector< MeshType::VertexHandle > indices
The VertexHandles of the vertices in the original mesh that contribute to this vertex in the subdivid...
Definition VertexMapping.hpp:35