#include <collisionAlgorithms.h>
Public Member Functions | |
virtual bool | distanceTest (double dSq) |
Neighborhood & | getRegion () |
virtual void | leafTest (const Leaf *l1, const Leaf *l2) |
void | printStatistics () |
virtual double | quickTest (const Node *n1, const Node *n2) |
RegionCallback (const CollisionModel *m1, const position &p, const vec3 &n, double r) | |
virtual void | reset () |
Private Member Functions | |
void | insertPoint (const position &point) |
Private Attributes | |
Neighborhood | mNeighborhood |
vec3 | mNormal |
double | mRadiusSq |
position | mRefPosition |
Recursion callback for the region test.
Definition at line 252 of file collisionAlgorithms.h.
Collision::RegionCallback::RegionCallback | ( | const CollisionModel * | m1, | |
const position & | p, | |||
const vec3 & | n, | |||
double | r | |||
) | [inline] |
Definition at line 262 of file collisionAlgorithms.h.
virtual bool Collision::RegionCallback::distanceTest | ( | double | dSq | ) | [inline, virtual] |
Implements Collision::RecursionCallback.
Definition at line 271 of file collisionAlgorithms.h.
Neighborhood& Collision::RegionCallback::getRegion | ( | ) | [inline] |
Definition at line 275 of file collisionAlgorithms.h.
void Collision::RegionCallback::insertPoint | ( | const position & | point | ) | [private] |
Definition at line 237 of file collisionAlgorithms.cpp.
Implements Collision::RecursionCallback.
Definition at line 254 of file collisionAlgorithms_inl.h.
void Collision::RegionCallback::printStatistics | ( | ) | [virtual] |
Reimplemented from Collision::RecursionCallback.
Definition at line 230 of file collisionAlgorithms.cpp.
Implements Collision::RecursionCallback.
Definition at line 245 of file collisionAlgorithms_inl.h.
virtual void Collision::RegionCallback::reset | ( | ) | [inline, virtual] |
Reimplemented from Collision::RecursionCallback.
Definition at line 265 of file collisionAlgorithms.h.
Definition at line 255 of file collisionAlgorithms.h.
vec3 Collision::RegionCallback::mNormal [private] |
Definition at line 257 of file collisionAlgorithms.h.
double Collision::RegionCallback::mRadiusSq [private] |
Definition at line 258 of file collisionAlgorithms.h.
Definition at line 256 of file collisionAlgorithms.h.