kick
Public Member Functions | Protected Member Functions | Protected Attributes
kick::KDTree Class Reference
Inheritance diagram for kick::KDTree:
kick::KDTreeNaive

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)
KDTreeNoderecursiveBuild (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< KDTreeNodeRefobjectList
KDTreeNoderootNode
AABB aabb

Detailed Description

Definition at line 49 of file kd_tree.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables