|
supereight
|
Functions | |
| template<typename BlockT , se::Sort SortT = se::Sort::SmallToLarge> | |
| std::enable_if_t< SortT==se::Sort::SmallToLarge > | sort_blocks (std::vector< se::OctantBase *> &block_ptrs) |
| Sort a vector of blocks according to its morton code from small to large. More... | |
| template<typename BlockT , se::Sort SortT> | |
| std::enable_if_t< SortT==se::Sort::LargeToSmall > | sort_blocks (std::vector< se::OctantBase *> &block_ptrs) |
| Sort a vector of blocks according to its morton code from large to small. More... | |
| int | size_to_scale (const int octant_size) |
| Convert the size of an octant in [voxel] to its scale in the octree. More... | |
| int | scale_to_size (const int octant_scale) |
| Convert the scale of a octant to its size in [voxel]. More... | |
| template<typename OctreeT > | |
| int | octant_to_size (const se::OctantBase *octant_ptr) |
| Get the octant's size. More... | |
| template<typename OctreeT > | |
| int | octant_to_scale (const se::OctantBase *octant_ptr) |
| Get the octant's scale. More... | |
| template<typename OctreeT > | |
| se::key_t | octant_to_key (const se::OctantBase *octant_ptr) |
| Get the octant's key. More... | |
|
inline |
Sort a vector of blocks according to its morton code from small to large.
| BlockT | The type of blocks used |
| SortT | The sorting strategy (small to large by default) |
| [in] | block_ptrs | The vector of block pointers |
|
inline |
Sort a vector of blocks according to its morton code from large to small.
| BlockT | The type of blocks used |
| SortT | The sorting strategy (small to large by default) |
| [in] | block_ptrs | The vector of block pointers |
|
inline |
Convert the size of an octant in [voxel] to its scale in the octree.
| [in] | octant_size | The size of the octant in [voxel] |
|
inline |
Convert the scale of a octant to its size in [voxel].
| [in] | octant_scale | The scale of the octant |
|
inline |
Get the octant's size.
| OctreeT |
| [in] | octant_ptr | The pointer to the octant |
|
inline |
Get the octant's scale.
| OctreeT |
| [in] | octant_ptr | The pointer to the octant |
|
inline |
Get the octant's key.
| OctreeT |
| [in] | octant_ptr | The pointer to the octant |
1.8.13