#include <BoundingIntervalHierarchyWrapper.h>
template<class T , class BoundsFunc = BoundsTrait<T>>
template<class T , class BoundsFunc = BoundsTrait<T>>
int unbalanced_times
Definition: BoundingIntervalHierarchyWrapper.h:66
template<class T , class BoundsFunc = BoundsTrait<T>>
void BIHWrap< T, BoundsFunc >::balance |
( |
| ) |
|
|
inline |
ObjArray m_objects
Definition: BoundingIntervalHierarchyWrapper.h:63
void fastClear()
Definition: Array.h:419
int unbalanced_times
Definition: BoundingIntervalHierarchyWrapper.h:66
G3D::Set< const T * > m_objects_to_push
Definition: BoundingIntervalHierarchyWrapper.h:65
BIH m_tree
Definition: BoundingIntervalHierarchyWrapper.h:62
G3D::Table< const T *, uint32 > m_obj2Idx
Definition: BoundingIntervalHierarchyWrapper.h:64
Array< Key > getKeys() const
Definition: Table.h:907
Array< T > getMembers() const
Definition: Set.h:93
void build(const PrimArray &primitives, BoundsFunc &getBounds, uint32 leafSize=3, bool printStats=false)
Definition: BoundingIntervalHierarchy.h:84
template<class T , class BoundsFunc = BoundsTrait<T>>
int unbalanced_times
Definition: BoundingIntervalHierarchyWrapper.h:66
G3D::Set< const T * > m_objects_to_push
Definition: BoundingIntervalHierarchyWrapper.h:65
bool insert(const T &member)
Definition: Set.h:62
template<class T , class BoundsFunc = BoundsTrait<T>>
template<typename IsectCallback >
ObjArray m_objects
Definition: BoundingIntervalHierarchyWrapper.h:63
T * getCArray()
Definition: Array.h:256
BIH m_tree
Definition: BoundingIntervalHierarchyWrapper.h:62
int size() const
Definition: Array.h:430
void intersectPoint(const G3D::Vector3 &p, IsectCallback &intersectCallback) const
Definition: BoundingIntervalHierarchy.h:260
void balance()
Definition: BoundingIntervalHierarchyWrapper.h:88
template<class T , class BoundsFunc = BoundsTrait<T>>
template<typename RayCallback >
void BIHWrap< T, BoundsFunc >::intersectRay |
( |
const G3D::Ray & |
ray, |
|
|
RayCallback & |
intersectCallback, |
|
|
float & |
maxDist |
|
) |
| |
|
inline |
ObjArray m_objects
Definition: BoundingIntervalHierarchyWrapper.h:63
T * getCArray()
Definition: Array.h:256
BIH m_tree
Definition: BoundingIntervalHierarchyWrapper.h:62
int size() const
Definition: Array.h:430
void balance()
Definition: BoundingIntervalHierarchyWrapper.h:88
void intersectRay(const G3D::Ray &r, RayCallback &intersectCallback, float &maxDist, bool stopAtFirst=false) const
Definition: BoundingIntervalHierarchy.h:121
template<class T , class BoundsFunc = BoundsTrait<T>>
ObjArray m_objects
Definition: BoundingIntervalHierarchyWrapper.h:63
bool remove(const T &member)
Definition: Set.h:72
bool getRemove(const Key &key, Key &removedKey, Value &removedValue)
Definition: Table.h:660
int unbalanced_times
Definition: BoundingIntervalHierarchyWrapper.h:66
arena_t NULL
Definition: jemalloc_internal.h:624
G3D::Set< const T * > m_objects_to_push
Definition: BoundingIntervalHierarchyWrapper.h:65
uint32_t uint32
Definition: Define.h:150
G3D::Table< const T *, uint32 > m_obj2Idx
Definition: BoundingIntervalHierarchyWrapper.h:64
template<class T , class BoundsFunc = BoundsTrait<T>>
template<class T , class BoundsFunc = BoundsTrait<T>>
template<class T , class BoundsFunc = BoundsTrait<T>>
template<class T , class BoundsFunc = BoundsTrait<T>>
template<class T , class BoundsFunc = BoundsTrait<T>>
int BIHWrap< T, BoundsFunc >::unbalanced_times |
|
private |
The documentation for this class was generated from the following file: