TrinityCore
|
Public Types | |
typedef GameObjectModel | Model |
typedef ParentTree | base |
Public Types inherited from RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc, PositionFunc > | |
enum | { CELL_NUMBER = 64 } |
typedef std::unordered_multimap< const T *, Node * > | MemberTable |
Public Member Functions | |
DynTreeImpl () | |
void | insert (Model const &mdl) |
void | remove (Model const &mdl) |
void | balance () |
void | update (uint32 difftime) |
Public Member Functions inherited from RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc, PositionFunc > | |
RegularGrid2D () | |
~RegularGrid2D () | |
void | insert (const T &value) |
void | remove (const T &value) |
void | balance () |
bool | contains (const T &value) const |
bool | empty () const |
Node & | getGrid (int x, int y) |
template<typename RayCallback > | |
void | intersectRay (const G3D::Ray &ray, RayCallback &intersectCallback, float max_dist) |
template<typename RayCallback > | |
void | intersectRay (const G3D::Ray &ray, RayCallback &intersectCallback, float &max_dist, const G3D::Vector3 &end) |
template<typename IsectCallback > | |
void | intersectPoint (const G3D::Vector3 &point, IsectCallback &intersectCallback) |
template<typename RayCallback > | |
void | intersectZAllignedRay (const G3D::Ray &ray, RayCallback &intersectCallback, float &max_dist) |
Public Attributes | |
TimeTracker | rebalance_timer |
int | unbalanced_times |
Public Attributes inherited from RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc, PositionFunc > | |
MemberTable | memberTable |
Node * | nodes [CELL_NUMBER][CELL_NUMBER] |
Definition at line 61 of file DynamicTree.cpp.
typedef ParentTree DynTreeImpl::base |
Definition at line 64 of file DynamicTree.cpp.
typedef GameObjectModel DynTreeImpl::Model |
Definition at line 63 of file DynamicTree.cpp.
|
inline |
Definition at line 66 of file DynamicTree.cpp.
|
inline |
Definition at line 84 of file DynamicTree.cpp.
|
inline |
Definition at line 72 of file DynamicTree.cpp.
|
inline |
Definition at line 78 of file DynamicTree.cpp.
|
inline |
Definition at line 90 of file DynamicTree.cpp.
TimeTracker DynTreeImpl::rebalance_timer |
Definition at line 104 of file DynamicTree.cpp.
int DynTreeImpl::unbalanced_times |
Definition at line 105 of file DynamicTree.cpp.