Lagrange
Loading...
Searching...
No Matches
ProjectCommonOptions Struct Reference

Common options for projection functions. More...

#include <lagrange/raycasting/Options.h>

Inheritance diagram for ProjectCommonOptions:
ProjectDirectionalOptions ProjectOptions

Public Attributes

std::vector< AttributeIdattribute_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.
 

Detailed Description

Common options for projection functions.

Member Data Documentation

◆ project_vertices

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.

◆ skip_vertex

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).


The documentation for this struct was generated from the following file: