|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <RegularGrid.h>
Classes | |
| struct | Cell |
Public Types | |
| enum | { CELL_NUMBER = 64 } |
| typedef G3D::Table< const T *, Node * > | MemberTable |
Public Member Functions | |
| void | balance () |
| bool | contains (const T &value) const |
| Node & | getGrid (int x, int y) |
| Node & | getGridFor (float fx, float fy) |
| void | insert (const T &value) |
| template<typename IsectCallback> | |
| void | intersectPoint (const G3D::Vector3 &point, IsectCallback &intersectCallback) |
| template<typename RayCallback> | |
| void | intersectRay (const G3D::Ray &ray, RayCallback &intersectCallback, float &max_dist, const G3D::Vector3 &end) |
| template<typename RayCallback> | |
| void | intersectRay (const G3D::Ray &ray, RayCallback &intersectCallback, float max_dist) |
| template<typename RayCallback> | |
| void | intersectZAllignedRay (const G3D::Ray &ray, RayCallback &intersectCallback, float &max_dist) |
| RegularGrid2D () | |
| void | remove (const T &value) |
| int | size () const |
| ~RegularGrid2D () | |
Public Attributes | |
| MemberTable | memberTable |
| Node * | nodes [CELL_NUMBER][CELL_NUMBER] |
Definition at line 28 of file RegularGrid.h.
| typedef G3D::Table<const T*, Node*> RegularGrid2D< T, Node, NodeCreatorFunc, PositionFunc >::MemberTable |
Definition at line 38 of file RegularGrid.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CELL_NUMBER | |
Definition at line 31 of file RegularGrid.h.
|
inline |
Definition at line 43 of file RegularGrid.h.
|
inline |
Definition at line 47 of file RegularGrid.h.
|
inline |
Definition at line 69 of file RegularGrid.h.
|
inline |
Definition at line 77 of file RegularGrid.h.
|
inline |
Definition at line 101 of file RegularGrid.h.
Referenced by RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > >::getGridFor().
|
inline |
Definition at line 95 of file RegularGrid.h.
Referenced by RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > >::insert().
|
inline |
Definition at line 53 of file RegularGrid.h.
|
inline |
Definition at line 192 of file RegularGrid.h.
|
inline |
Definition at line 116 of file RegularGrid.h.
|
inline |
Definition at line 110 of file RegularGrid.h.
Referenced by RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > >::intersectRay().
|
inline |
Definition at line 203 of file RegularGrid.h.
|
inline |
Definition at line 62 of file RegularGrid.h.
|
inline |
Definition at line 78 of file RegularGrid.h.
| MemberTable RegularGrid2D< T, Node, NodeCreatorFunc, PositionFunc >::memberTable |
Definition at line 40 of file RegularGrid.h.
| Node* RegularGrid2D< T, Node, NodeCreatorFunc, PositionFunc >::nodes[CELL_NUMBER][CELL_NUMBER] |
Definition at line 41 of file RegularGrid.h.