|
Lagrange
|
Common options for projection functions. More...
#include <lagrange/raycasting/Options.h>
Public Attributes | |
| std::vector< AttributeId > | attribute_ids |
| Additional vertex attribute ids to project (beyond vertex positions). | |
| bool | project_vertices = true |
| Whether to project vertex positions. | |
| std::function< bool(uint64_t)> | skip_vertex = nullptr |
| If provided, whether to skip assignment for a target vertex or not. | |
Common options for projection functions.
| bool project_vertices = true |
Whether to project vertex positions.
Defaults to true. When true, the vertex position attribute (SurfaceMesh::attr_id_vertex_to_position) is automatically appended to the list of projected attributes.
| std::function<bool(uint64_t)> skip_vertex = nullptr |
If provided, whether to skip assignment for a target vertex or not.
This can be used for partial assignment (e.g., to only set boundary vertices of a mesh).