template<class T, class BoundsFunc = BoundsTrait<T>>
class BIHWrap< T, BoundsFunc >
template<class T , class BoundsFunc = BoundsTrait<T>>
void BIHWrap< T, BoundsFunc >::balance |
( |
| ) |
|
|
inline |
99 {
101 {
102 return;
103 }
104
109
110
112 }
void build(const PrimArray &primitives, BoundsFunc &GetBounds, uint32 leafSize=3, bool printStats=false)
Definition: BoundingIntervalHierarchy.h:80
G3D::Table< const T *, uint32 > m_obj2Idx
Definition: BoundingIntervalHierarchyWrapper.h:70
BIH m_tree
Definition: BoundingIntervalHierarchyWrapper.h:68
ObjArray m_objects
Definition: BoundingIntervalHierarchyWrapper.h:69
G3D::Set< const T * > m_objects_to_push
Definition: BoundingIntervalHierarchyWrapper.h:71
References BIH::build(), BIHWrap< T, BoundsFunc >::m_obj2Idx, BIHWrap< T, BoundsFunc >::m_objects, BIHWrap< T, BoundsFunc >::m_objects_to_push, BIHWrap< T, BoundsFunc >::m_tree, and BIHWrap< T, BoundsFunc >::unbalanced_times.
Referenced by BIHWrap< T, BoundsFunc >::intersectPoint(), and BIHWrap< T, BoundsFunc >::intersectRay().