Skip to content

Class PointOctreeNode

ClassList > PointOctreeNode

Public Attributes

Type Name
size_t begin_index = 0
Extent3D bounds
std::array< std::unique_ptr< PointOctreeNode >, 8 > children
int depth = 0
size_t end_index = 0

Public Static Attributes

Type Name
constexpr int MAX_DEPTH = 20
constexpr size_t MAX_POINTS = 32'000

Public Functions

Type Name
int child_index (const OctreePoint & point) const
void ensure_child (int idx)
bool has_children () const
size_t point_count () const
void shuffle_range (OctreePointVector & points) const
void shuffle_recursive (OctreePointVector & points)

Public Attributes Documentation

variable begin_index

size_t PointOctreeNode::begin_index;

variable bounds

Extent3D PointOctreeNode::bounds;

variable children

std::array<std::unique_ptr<PointOctreeNode>, 8> PointOctreeNode::children;

variable depth

int PointOctreeNode::depth;

variable end_index

size_t PointOctreeNode::end_index;

Public Static Attributes Documentation

variable MAX_DEPTH

constexpr int PointOctreeNode::MAX_DEPTH;

variable MAX_POINTS

constexpr size_t PointOctreeNode::MAX_POINTS;

Public Functions Documentation

function child_index

inline int PointOctreeNode::child_index (
    const OctreePoint & point
) const

function ensure_child

inline void PointOctreeNode::ensure_child (
    int idx
) 

function has_children

inline bool PointOctreeNode::has_children () const

function point_count

inline size_t PointOctreeNode::point_count () const

function shuffle_range

inline void PointOctreeNode::shuffle_range (
    OctreePointVector & points
) const

function shuffle_recursive

inline void PointOctreeNode::shuffle_recursive (
    OctreePointVector & points
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/gui/point_octree.hpp