![]() |
Polyhedral-net Splines
|
Represents a mapping from vertices in subdivided mesh to vertices in the original mesh. Each mapping consists of a list of vertex indices in the original and corresponding weights. The vertex in the subdivided mesh is represented as a weighted combination of the vertices in the original mesh. This class contains arithmetic operators to facilitate combining mappings during subdivision. More...
#include <VertexMapping.hpp>
Public Member Functions | |
| VertexMapping (const VertexMapping &other)=default | |
| VertexMapping & | operator= (const VertexMapping &other)=default |
| VertexMapping | operator+ (const VertexMapping &other) const |
| VertexMapping | operator- (const VertexMapping &other) const |
| VertexMapping | operator* (double scalar) const |
| VertexMapping | operator/ (double scalar) const |
| VertexMapping | operator- () const |
Public Attributes | |
| std::vector< MeshType::VertexHandle > | indices |
| The VertexHandles of the vertices in the original mesh that contribute to this vertex in the subdivided mesh. | |
| std::vector< double > | mapping |
| The weights associated with each vertex in indices. The weights should sum to 1.0. | |
Represents a mapping from vertices in subdivided mesh to vertices in the original mesh. Each mapping consists of a list of vertex indices in the original and corresponding weights. The vertex in the subdivided mesh is represented as a weighted combination of the vertices in the original mesh. This class contains arithmetic operators to facilitate combining mappings during subdivision.