Go to the source code of this file.
◆ VERTEX_ATTRIBUTE_GETTER
#define VERTEX_ATTRIBUTE_GETTER |
( |
|
name, |
|
|
|
attribute |
|
) |
| |
Value: template <class WMTKMesh> \
Eigen::MatrixXd WildRemesher<WMTKMesh>::name() const \
{ \
Eigen::MatrixXd attributes = Eigen::MatrixXd::Constant(WMTKMesh::vert_capacity(), DIM, NaN); \
for (const Tuple &t : WMTKMesh::get_vertices()) \
attributes.row(t.vid(*this)) = vertex_attrs[t.vid(*this)].attribute; \
return attributes; \
}
Definition at line 11 of file WildRemesher.cpp.
◆ VERTEX_ATTRIBUTE_SETTER
#define VERTEX_ATTRIBUTE_SETTER |
( |
|
name, |
|
|
|
attribute |
|
) |
| |
Value: template <class WMTKMesh> \
void WildRemesher<WMTKMesh>::name(const Eigen::MatrixXd &attributes) \
{ \
for (const Tuple &t : WMTKMesh::get_vertices()) \
vertex_attrs[t.vid(*this)].attribute = attributes.row(t.vid(*this)); \
}
Definition at line 21 of file WildRemesher.cpp.