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

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

Definition at line 105 of file mini_tree_builder.h.

Public Member Functions

 BuildTask (MiniTreeBuilder *builder, Bvh< Node > &bvh, std::vector< size_t > &&prim_ids)
 
BVH_ALWAYS_INLINE void run ()
 

Public Attributes

std::vector< BBoxbboxes
 
MiniTreeBuilderbuilder
 
Bvh< Node > & bvh
 
std::vector< Veccenters
 
std::vector< size_t > prim_ids
 

Constructor & Destructor Documentation

◆ BuildTask()

template<typename Node , typename MortonCode = uint32_t>
bvh::v2::MiniTreeBuilder< Node, MortonCode >::BuildTask::BuildTask ( MiniTreeBuilder builder,
Bvh< Node > &  bvh,
std::vector< size_t > &&  prim_ids 
)
inline

Definition at line 113 of file mini_tree_builder.h.

Member Function Documentation

◆ run()

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

Definition at line 122 of file mini_tree_builder.h.

Member Data Documentation

◆ bboxes

template<typename Node , typename MortonCode = uint32_t>
std::vector<BBox> bvh::v2::MiniTreeBuilder< Node, MortonCode >::BuildTask::bboxes

Definition at line 110 of file mini_tree_builder.h.

◆ builder

template<typename Node , typename MortonCode = uint32_t>
MiniTreeBuilder* bvh::v2::MiniTreeBuilder< Node, MortonCode >::BuildTask::builder

Definition at line 106 of file mini_tree_builder.h.

◆ bvh

template<typename Node , typename MortonCode = uint32_t>
Bvh<Node>& bvh::v2::MiniTreeBuilder< Node, MortonCode >::BuildTask::bvh

Definition at line 107 of file mini_tree_builder.h.

◆ centers

template<typename Node , typename MortonCode = uint32_t>
std::vector<Vec> bvh::v2::MiniTreeBuilder< Node, MortonCode >::BuildTask::centers

Definition at line 111 of file mini_tree_builder.h.

◆ prim_ids

template<typename Node , typename MortonCode = uint32_t>
std::vector<size_t> bvh::v2::MiniTreeBuilder< Node, MortonCode >::BuildTask::prim_ids

Definition at line 108 of file mini_tree_builder.h.

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

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