Open CASCADE Technology  7.0.0
Data Structures

BVH_BinnedBuilder.hxx File Reference

#include <BVH_QueueBuilder.hxx>
#include <algorithm>
#include <BVH_BinnedBuilder.lxx>

Data Structures

struct  BVH_Bin< T, N >
 Stores parameters of single bin (slice of AABB). More...
 
class  BVH_BinnedBuilder< T, N, Bins >
 Performs construction of BVH tree using binned SAH algorithm. Number of bins controls BVH quality in cost of construction time (greater - better). For optimal results, use 32 - 48 bins. However, reasonable performance is provided even for 4 - 8 bins (it is only 10-20% lower in comparison with optimal settings). Note that multiple threads can be used only with thread safe BVH primitive sets. More...
 
struct  BVH_BinnedBuilder< T, N, Bins >::BVH_SplitPlane
 Describes split plane candidate. More...