Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins Struct Reference

template<typename Node, typename MortonCode = uint32_t>
struct bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins

Definition at line 78 of file mini_tree_builder.h.

Public Member Functions

BVH_ALWAYS_INLINE void merge (LocalBins &&other)
 
BVH_ALWAYS_INLINE void merge_small_bins (size_t threshold)
 
BVH_ALWAYS_INLINE Binoperator[] (size_t i)
 
BVH_ALWAYS_INLINE const Binoperator[] (size_t i) const
 
BVH_ALWAYS_INLINE void remove_empty_bins ()
 

Public Attributes

std::vector< Binbins
 

Member Function Documentation

◆ merge()

template<typename Node , typename MortonCode = uint32_t>
BVH_ALWAYS_INLINE void bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins::merge ( LocalBins &&  other)
inline

Definition at line 98 of file mini_tree_builder.h.

◆ merge_small_bins()

template<typename Node , typename MortonCode = uint32_t>
BVH_ALWAYS_INLINE void bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins::merge_small_bins ( size_t  threshold)
inline

Definition at line 84 of file mini_tree_builder.h.

◆ operator[]() [1/2]

template<typename Node , typename MortonCode = uint32_t>
BVH_ALWAYS_INLINE Bin & bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins::operator[] ( size_t  i)
inline

Definition at line 81 of file mini_tree_builder.h.

◆ operator[]() [2/2]

template<typename Node , typename MortonCode = uint32_t>
BVH_ALWAYS_INLINE const Bin & bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins::operator[] ( size_t  i) const
inline

Definition at line 82 of file mini_tree_builder.h.

◆ remove_empty_bins()

template<typename Node , typename MortonCode = uint32_t>
BVH_ALWAYS_INLINE void bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins::remove_empty_bins ( )
inline

Definition at line 93 of file mini_tree_builder.h.

Member Data Documentation

◆ bins

template<typename Node , typename MortonCode = uint32_t>
std::vector<Bin> bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins::bins

Definition at line 79 of file mini_tree_builder.h.

Collaboration diagram for bvh::v2::MiniTreeBuilder< Node, MortonCode >::LocalBins:
[legend]

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