Template Class Octree

Class Documentation

template<typename ValueType>
class legion::rendering::Octree

Public Functions

Octree() = default
Octree(const Octree&) = default
Octree(Octree&&) noexcept = default
Octree &operator=(const Octree&) = default
Octree &operator=(Octree&&) noexcept = default
inline Octree(size_type capacity, math::vec3 min, math::vec3 max, math::vec3 position)
inline Octree(size_type capacity, math::vec3 min, math::vec3 max)
inline void insertNode(ValueType item, const math::vec3 &pos)
inline void DrawTree()
inline int GetTreeDepth(int inputDepth = 0)
inline void GetData(int depth, std::vector<math::vec3> *Data)
inline void GetDataPair(int depth, std::vector<std::pair<math::vec3, ValueType>> *Data)
inline void GetDataRangePair(int startingDepth, int endDepth, std::vector<std::pair<math::vec3, ValueType>> *Data)
inline void GetDataRange(int startingDepth, int endDepth, std::vector<math::vec3> *Data)