Lagrange
|
Option struct for selecting facets based on normal similarity. More...
#include <lagrange/select_facets_by_normal_similarity.h>
Public Types | |
enum class | SearchType { BFS = 0 , DFS = 1 } |
select_facets_by_normal_similarity uses either BFS or DFS in its flooding search More... | |
Public Attributes | |
double | flood_error_limit = std::numeric_limits<double>::max() |
Increasing this would select a larger region. | |
double | flood_second_to_first_order_limit_ratio = 1.0 / 6.0 |
There are two types of error limits when flood-search goes from one facet to its neighboring facet: More... | |
std::string_view | facet_normal_attribute_name = "@facet_normal" |
The attribute name for the facet normal. | |
std::optional< std::string_view > | is_facet_selectable_attribute_name |
Users can specify whether a facet is selectable by an uint8 attribute. More... | |
std::string_view | output_attribute_name = "@is_selected" |
The attribute name for the selection output. | |
SearchType | search_type = SearchType::DFS |
The search type (BFS or DFS) | |
int | num_smooth_iterations = 3 |
Smoothing boundary of selected region (reduce ears) | |
Option struct for selecting facets based on normal similarity.
|
strong |
double flood_second_to_first_order_limit_ratio = 1.0 / 6.0 |
There are two types of error limits when flood-search goes from one facet to its neighboring facet:
Setting flood_second_to_first_order_limit_ratio > 0.0 allows the selected region to grow on low-curvature areas even though the normals differ from the seed normal.
std::optional<std::string_view> is_facet_selectable_attribute_name |
Users can specify whether a facet is selectable by an uint8 attribute.
e.g. "@is_facet_selectable"