|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <spaceindex.h>
Public Member Functions | |
| SpaceIndex ()=default | |
| void | add (T *v) |
| void | del (T *v) |
| bool | hasObject (const T *v) const |
| T ** | begin () |
| T ** | end () |
| T *const * | begin () const |
| T *const * | end () const |
| template<class Func > | |
| void | find (const Tempest::Vec3 &p, float R, const Func &f) |
| template<class F > | |
| void | parallelFor (F func) |
Public Member Functions inherited from BaseSpaceIndex | |
| void | clear () |
| size_t | size () const |
| void | invalidate () |
Additional Inherited Members | |
Protected Member Functions inherited from BaseSpaceIndex | |
| BaseSpaceIndex ()=default | |
| void | add (Vob *v) |
| void | del (Vob *v) |
| bool | hasObject (const Vob *v) const |
| void | find (const Tempest::Vec3 &p, float R, const void *ctx, void(*func)(const void *, Vob *)) |
| template<class Func > | |
| void | parallelFor (Func f) |
| Vob ** | data () |
| Vob *const * | data () const |
Definition at line 50 of file spaceindex.h.
|
default |
|
inline |
Definition at line 54 of file spaceindex.h.
|
inline |
Definition at line 66 of file spaceindex.h.
|
inline |
Definition at line 69 of file spaceindex.h.
|
inline |
Definition at line 58 of file spaceindex.h.
|
inline |
Definition at line 67 of file spaceindex.h.
|
inline |
Definition at line 70 of file spaceindex.h.
|
inline |
Definition at line 73 of file spaceindex.h.
|
inline |
Definition at line 62 of file spaceindex.h.
Definition at line 81 of file spaceindex.h.