Polyhedral-net Splines
Loading...
Searching...
No Matches
VertexMapping Class Reference

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
VertexMappingoperator= (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.

Detailed Description

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.


The documentation for this class was generated from the following files: