Open CASCADE Technology
7.7.0
|
Namespaces | |
BVH | |
Enumerations | |
enum | { BVH_Constants_MaxTreeDepth = 32, BVH_Constants_LeafNodeSizeSingle = 1, BVH_Constants_LeafNodeSizeAverage = 4, BVH_Constants_LeafNodeSizeDefault = 5, BVH_Constants_LeafNodeSizeSmall = 8, BVH_Constants_NbBinsOptimal = 32, BVH_Constants_NbBinsBest = 48 } |
Variables | |
const double | BVH::THE_NODE_MIN_SIZE = 1e-5 |
Minimum node size to split. More... | |
anonymous enum |
Enumerator | |
---|---|
BVH_Constants_MaxTreeDepth | The optimal tree depth. Should be in sync with maximum stack size while traversing the tree - don't pass the trees of greater depth to OCCT algorithms! |
BVH_Constants_LeafNodeSizeSingle | Leaf node size optimal for complex nodes, e.g. for upper-level BVH trees within multi-level structure (nodes point to another BVH trees). |
BVH_Constants_LeafNodeSizeAverage | Average leaf node size (4 primitive per leaf), optimal for average tree nodes. |
BVH_Constants_LeafNodeSizeDefault | Default leaf node size (5 primitives per leaf). |
BVH_Constants_LeafNodeSizeSmall | Leaf node size (8 primitives per leaf), optimal for small tree nodes (e.g. triangles). |
BVH_Constants_NbBinsOptimal | The optimal number of bins for binned builder. |
BVH_Constants_NbBinsBest | The maximum number of bins for binned builder (giving the best traversal time at cost of longer tree construction time). |