#include <OPC_SweepAndPrune.h>
Public Member Functions | |
| void | GetPairs (Pairs &pairs) const |
| void | GetPairs (PairCallback callback, void *user_data) const |
| bool | Init (udword nb_objects, const AABB **boxes) |
| SweepAndPrune () | |
| bool | UpdateObject (udword i, const AABB &box) |
| ~SweepAndPrune () | |
Private Member Functions | |
| bool | CheckListsIntegrity () |
Private Attributes | |
| SAP_Box * | mBoxes |
| SAP_EndPoint * | mList [3] |
| udword | mNbObjects |
| SAP_PairData | mPairs |
Definition at line 65 of file OPC_SweepAndPrune.h.
Constructor.
Definition at line 389 of file OPC_SweepAndPrune.cpp.
Destructor.
Definition at line 398 of file OPC_SweepAndPrune.cpp.
| bool SweepAndPrune::CheckListsIntegrity | ( | ) | [private] |
Definition at line 489 of file OPC_SweepAndPrune.cpp.
| void SweepAndPrune::GetPairs | ( | Pairs & | pairs | ) | const |
| void SweepAndPrune::GetPairs | ( | PairCallback | callback, |
| void * | user_data | ||
| ) | const |
Definition at line 407 of file OPC_SweepAndPrune.cpp.
| bool SweepAndPrune::Init | ( | udword | nb_objects, |
| const AABB ** | boxes | ||
| ) |
Definition at line 412 of file OPC_SweepAndPrune.cpp.
| bool SweepAndPrune::UpdateObject | ( | udword | i, |
| const AABB & | box | ||
| ) |
Definition at line 533 of file OPC_SweepAndPrune.cpp.
SAP_Box* SweepAndPrune::mBoxes [private] |
Definition at line 80 of file OPC_SweepAndPrune.h.
SAP_EndPoint* SweepAndPrune::mList[3] [private] |
Definition at line 81 of file OPC_SweepAndPrune.h.
udword SweepAndPrune::mNbObjects [private] |
Definition at line 79 of file OPC_SweepAndPrune.h.
SAP_PairData SweepAndPrune::mPairs [private] |
Definition at line 77 of file OPC_SweepAndPrune.h.