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

Loop options for estimate_occluded_facets() and remove_occluded_facets(). More...

#include <lagrange/raycasting/remove_occluded_facets.h>

Public Attributes

uint64_t num_rays = 1600000000ULL
 Total ray budget.
 
uint64_t batch_size = 20000000ULL
 Rays per batch.
 
uint64_t num_adaptive_per_normal = 6
 Adaptive batches per normal batch.
 
bool brute_force = false
 Run brute-force batches only — baseline for benchmarking against the adaptive mode.
 
bool until_converged = false
 Stop early when a cycle finds no new visible facets.
 

Detailed Description

Member Data Documentation

◆ num_rays

uint64_t num_rays = 1600000000ULL

Total ray budget.

If 0, the loop runs until cancelled or converged — at least one of num_rays>0, until_converged, or a non-null cancel flag is required.

◆ batch_size

uint64_t batch_size = 20000000ULL

Rays per batch.

Cancellation, progress, and convergence are checked at cycle boundaries (one batch per cycle in brute-force, one normal + num_adaptive_per_normal adaptive otherwise).

◆ num_adaptive_per_normal

uint64_t num_adaptive_per_normal = 6

Adaptive batches per normal batch.

0 reduces to pure cosine sampling. Ignored when brute_force is true.


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