14#include <lagrange/utils/invalid.h>
19namespace lagrange::scene {
24enum class FacetAllocationStrategy {
40enum class UninstantiatedMeshesStrategy {
64 UninstantiatedMeshesStrategy::None;
constexpr T invalid()
You can use invalid<T>() to get a value that can represent "invalid" values, such as invalid indices ...
Definition invalid.h:40
Options that define how remeshing algorithms (tessellate, decimate, quadrangulate) treat meshes withi...
Definition RemeshingOptions.h:54
size_t min_facets
Minimum amount of facets for meshes in the scene.
Definition RemeshingOptions.h:60
FacetAllocationStrategy facet_allocation_strategy
Facet allocation strategy for meshes in the scene.
Definition RemeshingOptions.h:56
UninstantiatedMeshesStrategy uninstantiated_meshes_strategy
Behavior for meshes without instances in the scene.
Definition RemeshingOptions.h:63
std::vector< float > per_instance_importance
Optional per-instance weights/importance. Must be > 0.
Definition RemeshingOptions.h:67