Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
shamtree::CLBVHObjectIterator< 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::CLBVHObjectIterator< Tmorton, Tvec, dim >:

Public Types

using acc = CLBVHObjectIteratorAccessed< 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

LeafCellIterator cell_iterator
 Cell iterator.
 
CLBVHTraverser< Tmorton, Tvec, dim > tree_traverser
 Tree traverser.
 

Detailed Description

template<class Tmorton, class Tvec, u32 dim>
class shamtree::CLBVHObjectIterator< 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 213 of file CLBVHObjectIterator.hpp.

Member Typedef Documentation

◆ acc

template<class Tmorton , class Tvec , u32 dim>
using shamtree::CLBVHObjectIterator< Tmorton, Tvec, dim >::acc = CLBVHObjectIteratorAccessed<Tmorton, Tvec, dim>

shorthand for CLBVHObjectIteratorAccessed

Definition at line 218 of file CLBVHObjectIterator.hpp.

Member Function Documentation

◆ complete_event_state()

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

complete the buffer states with the resulting event

Definition at line 226 of file CLBVHObjectIterator.hpp.

+ Here is the call graph for this function:

◆ get_read_access()

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

get read only accessor

Definition at line 221 of file CLBVHObjectIterator.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ cell_iterator

template<class Tmorton , class Tvec , u32 dim>
LeafCellIterator shamtree::CLBVHObjectIterator< Tmorton, Tvec, dim >::cell_iterator

Cell iterator.

Definition at line 214 of file CLBVHObjectIterator.hpp.

◆ tree_traverser

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

Tree traverser.

Definition at line 215 of file CLBVHObjectIterator.hpp.


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