Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
shamtree::CLBVHTraverser< Tmorton, Tvec, dim > Class Template Reference

This class is designed to traverse a BVH tree represented as a Compressed Leaf BVH (CLBVH) and a Karras Radix Tree. More...

#include <shamtree/include/shamtree/CLBVHObjectIterator.hpp>

+ Collaboration diagram for shamtree::CLBVHTraverser< Tmorton, Tvec, dim >:

Public Types

using acc = CLBVHTraverserAccessed< Tmorton, Tvec, dim >
 shorthand for CLBVHObjectIteratorAccessed
 

Public Member Functions

acc get_read_access (sham::EventList &deps) const
 get read only accessor
 
void complete_event_state (sycl::event e) const
 complete the buffer states with the resulting event
 

Public Attributes

KarrasTreeTraverser tree_traverser
 Tree traverser.
 
const sham::DeviceBuffer< Tvec > & aabb_min
 Minimum of the AABB.
 
const sham::DeviceBuffer< Tvec > & aabb_max
 Maximum of the AABB.
 

Detailed Description

template<class Tmorton, class Tvec, u32 dim>
class shamtree::CLBVHTraverser< Tmorton, Tvec, dim >

This class is designed to traverse a BVH tree represented as a Compressed Leaf BVH (CLBVH) and a Karras Radix Tree.

Template Parameters
Tmortontype of the morton codes
Tvectype of the vector (usually a float_3)
dimdimensionality of the problem

Definition at line 173 of file CLBVHObjectIterator.hpp.

Member Typedef Documentation

◆ acc

template<class Tmorton , class Tvec , u32 dim>
using shamtree::CLBVHTraverser< Tmorton, Tvec, dim >::acc = CLBVHTraverserAccessed<Tmorton, Tvec, dim>

shorthand for CLBVHObjectIteratorAccessed

Definition at line 179 of file CLBVHObjectIterator.hpp.

Member Function Documentation

◆ complete_event_state()

template<class Tmorton , class Tvec , u32 dim>
void shamtree::CLBVHTraverser< Tmorton, Tvec, dim >::complete_event_state ( sycl::event  e) const
inline

complete the buffer states with the resulting event

Definition at line 190 of file CLBVHObjectIterator.hpp.

+ Here is the call graph for this function:

◆ get_read_access()

template<class Tmorton , class Tvec , u32 dim>
acc shamtree::CLBVHTraverser< Tmorton, Tvec, dim >::get_read_access ( sham::EventList deps) const
inline

get read only accessor

Definition at line 182 of file CLBVHObjectIterator.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ aabb_max

template<class Tmorton , class Tvec , u32 dim>
const sham::DeviceBuffer<Tvec>& shamtree::CLBVHTraverser< Tmorton, Tvec, dim >::aabb_max

Maximum of the AABB.

Definition at line 176 of file CLBVHObjectIterator.hpp.

◆ aabb_min

template<class Tmorton , class Tvec , u32 dim>
const sham::DeviceBuffer<Tvec>& shamtree::CLBVHTraverser< Tmorton, Tvec, dim >::aabb_min

Minimum of the AABB.

Definition at line 175 of file CLBVHObjectIterator.hpp.

◆ tree_traverser

template<class Tmorton , class Tvec , u32 dim>
KarrasTreeTraverser shamtree::CLBVHTraverser< Tmorton, Tvec, dim >::tree_traverser

Tree traverser.

Definition at line 174 of file CLBVHObjectIterator.hpp.


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