List of all members.
Public Member Functions |
virtual void | init (std::vector< KDTreeNodeRef > &objectList, AABB &aabb) |
virtual bool | first_intersection (Ray &ray, KDTreeHitInfo &hit) |
Protected Member Functions |
bool | intersect (KDTreeNode *child, const Ray &ray, KDTreeHitInfo &hit, glm::vec3 startPoint) |
KDTreeNode * | recursiveBuild (const std::vector< KDTreeNodeRef > &objectList, AABB &aabb, int currentDepth) |
virtual bool | terminateBuild (const std::vector< KDTreeNodeRef > &objectList, AABB &aabb, int currentDepth)=0 |
virtual void | findPlane (const std::vector< KDTreeNodeRef > &objectList, AABB &aabb, int currentDepth, KDTreeNode *node)=0 |
Protected Attributes |
std::vector< KDTreeNodeRef > | objectList |
KDTreeNode * | rootNode |
AABB | aabb |
Detailed Description
Definition at line 49 of file kd_tree.h.
The documentation for this class was generated from the following files:
- /Users/morten/Programmering/cpp/kick/src/kick/math/kd_tree.h
- /Users/morten/Programmering/cpp/kick/src/kick/math/kd_tree.cpp