![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Class representing a set of Morton codes with associated bounding box and position data. More...
#include <shamtree/include/shamtree/MortonCodeSet.hpp>
Collaboration diagram for shamtree::MortonCodeSet< Tmorton, Tvec, dim >:Public Member Functions | |
| MortonCodeSet (shammath::AABB< Tvec > &&bounding_box, u32 &&cnt_obj, u32 &&morton_count, sham::DeviceBuffer< Tmorton > &&morton_codes) | |
| Move constructor from each members. | |
Public Attributes | |
| shammath::AABB< Tvec > | bounding_box |
| The axis-aligned bounding box for the set of positions. | |
| u32 | cnt_obj |
| The count of objects represented in the set. | |
| u32 | morton_count |
| The count of Morton codes in the set (every code after cnt_obj is err_code) | |
| sham::DeviceBuffer< Tmorton > | morton_codes |
| Device buffer holding the Morton codes. | |
Class representing a set of Morton codes with associated bounding box and position data.
| Tmorton | The type used for Morton codes |
| Tvec | The vector type representing positions |
| dim | The dimensionality, inferred from Tvec if not provided |
Definition at line 35 of file MortonCodeSet.hpp.
|
inline |
Move constructor from each members.
Definition at line 50 of file MortonCodeSet.hpp.
| shammath::AABB<Tvec> shamtree::MortonCodeSet< Tmorton, Tvec, dim >::bounding_box |
The axis-aligned bounding box for the set of positions.
Definition at line 38 of file MortonCodeSet.hpp.
| u32 shamtree::MortonCodeSet< Tmorton, Tvec, dim >::cnt_obj |
The count of objects represented in the set.
Definition at line 41 of file MortonCodeSet.hpp.
| sham::DeviceBuffer<Tmorton> shamtree::MortonCodeSet< Tmorton, Tvec, dim >::morton_codes |
Device buffer holding the Morton codes.
Definition at line 47 of file MortonCodeSet.hpp.
| u32 shamtree::MortonCodeSet< Tmorton, Tvec, dim >::morton_count |
The count of Morton codes in the set (every code after cnt_obj is err_code)
Definition at line 44 of file MortonCodeSet.hpp.