#include <collisionAlgorithms.h>
Public Member Functions | |
virtual bool | distanceTest (double d)=0 |
virtual void | leafTest (const Leaf *l1, const Leaf *l2)=0 |
virtual void | printStatistics () |
virtual double | quickTest (const Node *n1, const Node *n2)=0 |
RecursionCallback (const CollisionModel *m1, const CollisionModel *m2) | |
virtual void | reset () |
virtual | ~RecursionCallback () |
Protected Attributes | |
const CollisionModel * | mModel1 |
const CollisionModel * | mModel2 |
int | mNumLeafTests |
int | mNumQuickTests |
int | mNumTriangleTests |
transf | mTran1To2 |
Precomputed transform from model 1 to model 2. | |
transf | mTran2To1 |
Precomputed transform from model 2 to model 1. |
Definition at line 81 of file collisionAlgorithms.h.
Collision::RecursionCallback::RecursionCallback | ( | const CollisionModel * | m1, | |
const CollisionModel * | m2 | |||
) |
Definition at line 148 of file collisionAlgorithms.cpp.
virtual Collision::RecursionCallback::~RecursionCallback | ( | ) | [inline, virtual] |
Definition at line 99 of file collisionAlgorithms.h.
virtual bool Collision::RecursionCallback::distanceTest | ( | double | d | ) | [pure virtual] |
void Collision::RecursionCallback::printStatistics | ( | ) | [virtual] |
Reimplemented in Collision::CollisionCallback, Collision::ContactCallback, Collision::DistanceCallback, Collision::ClosestPtCallback, and Collision::RegionCallback.
Definition at line 157 of file collisionAlgorithms.cpp.
virtual void Collision::RecursionCallback::reset | ( | ) | [inline, virtual] |
Reimplemented in Collision::CollisionCallback, Collision::ContactCallback, Collision::DistanceCallback, Collision::ClosestPtCallback, and Collision::RegionCallback.
Definition at line 94 of file collisionAlgorithms.h.
const CollisionModel* Collision::RecursionCallback::mModel1 [protected] |
Definition at line 84 of file collisionAlgorithms.h.
const CollisionModel* Collision::RecursionCallback::mModel2 [protected] |
Definition at line 85 of file collisionAlgorithms.h.
int Collision::RecursionCallback::mNumLeafTests [protected] |
Definition at line 91 of file collisionAlgorithms.h.
int Collision::RecursionCallback::mNumQuickTests [protected] |
Definition at line 91 of file collisionAlgorithms.h.
int Collision::RecursionCallback::mNumTriangleTests [protected] |
Definition at line 91 of file collisionAlgorithms.h.
transf Collision::RecursionCallback::mTran1To2 [protected] |
Precomputed transform from model 1 to model 2.
Definition at line 89 of file collisionAlgorithms.h.
transf Collision::RecursionCallback::mTran2To1 [protected] |
Precomputed transform from model 2 to model 1.
Definition at line 87 of file collisionAlgorithms.h.