|
Lagrange
|
Bounded set of escape-direction "seeds" for a facet, feeding the adaptive vMF-mixture proposal. More...
#include <occluded_sampler_common.h>
Public Member Functions | |
| void | add (const Eigen::Vector3< Scalar > &d, Scalar merge_cos) |
Public Attributes | |
| std::array< Eigen::Vector3< Scalar >, capacity > | dir {} |
| std::array< Scalar, capacity > | weight {} |
| int | size = 0 |
Static Public Attributes | |
| static constexpr int | capacity = 4 |
Bounded set of escape-direction "seeds" for a facet, feeding the adaptive vMF-mixture proposal.
Each seed is a running-mean unit direction with an integer hit-count weight. add() merges a new escape into the nearest existing seed (cosine >= merge_cos), else fills a free slot, else evicts the lowest-weight slot — so a few dominant holes survive while noise churns through.