|
| HybridPlanesCollider () |
|
virtual | ~HybridPlanesCollider () |
|
bool | Collide (PlanesCache &cache, const Plane *planes, udword nb_planes, const HybridModel &model, const Matrix4x4 *worldm=null) |
|
| PlanesCollider () |
|
virtual | ~PlanesCollider () |
|
bool | Collide (PlanesCache &cache, const Plane *planes, udword nb_planes, const Model &model, const Matrix4x4 *worldm=null) |
|
inline_ bool | Collide (PlanesCache &cache, const OBB &box, const Model &model, const Matrix4x4 *worldb=null, const Matrix4x4 *worldm=null) |
|
| override (Collider) const char *ValidateSettings() |
|
| VolumeCollider () |
|
virtual | ~VolumeCollider ()=0 |
|
inline_ udword | GetNbTouchedPrimitives () const |
|
inline_ const udword * | GetTouchedPrimitives () const |
|
inline_ udword | GetNbVolumeBVTests () const |
|
inline_ udword | GetNbVolumePrimTests () const |
|
| override (Collider) const char *ValidateSettings() |
|
| Collider () |
|
virtual | ~Collider () |
|
inline_ BOOL | GetContactStatus () const |
|
inline_ BOOL | FirstContactEnabled () const |
|
inline_ BOOL | TemporalCoherenceEnabled () const |
|
inline_ BOOL | ContactFound () const |
|
inline_ BOOL | TemporalHit () const |
|
inline_ BOOL | SkipPrimitiveTests () const |
|
inline_ void | SetFirstContact (bool flag) |
|
inline_ void | SetTemporalCoherence (bool flag) |
|
inline_ void | SetPrimitiveTests (bool flag) |
|
virtual const char * | ValidateSettings ()=0 |
|
|
void | _Collide (const AABBCollisionNode *node, udword clip_mask) |
|
void | _Collide (const AABBNoLeafNode *node, udword clip_mask) |
|
void | _Collide (const AABBQuantizedNode *node, udword clip_mask) |
|
void | _Collide (const AABBQuantizedNoLeafNode *node, udword clip_mask) |
|
void | _CollideNoPrimitiveTest (const AABBCollisionNode *node, udword clip_mask) |
|
void | _CollideNoPrimitiveTest (const AABBNoLeafNode *node, udword clip_mask) |
|
void | _CollideNoPrimitiveTest (const AABBQuantizedNode *node, udword clip_mask) |
|
void | _CollideNoPrimitiveTest (const AABBQuantizedNoLeafNode *node, udword clip_mask) |
|
inline_ bool | PlanesAABBOverlap (const Point ¢er, const Point &extents, udword &out_clip_mask, udword in_clip_mask) |
|
inline_ bool | PlanesTriOverlap (udword in_clip_mask) |
|
bool | InitQuery (PlanesCache &cache, const Plane *planes, udword nb_planes, const Matrix4x4 *worldm=null) |
|
Definition at line 110 of file Opcode.h.
Definition at line 527 of file OPC_PlanesCollider.cpp.
References Opcode::PlanesCollider::_CollideNoPrimitiveTest(), Opcode::Collider::GetContactStatus(), Opcode::HybridModel::GetIndices(), Opcode::HybridModel::GetLeafTriangles(), Container::GetNbEntries(), Opcode::LeafTriangles::GetNbTriangles(), Opcode::MeshInterface::GetNbTriangles(), Opcode::BaseModel::GetTree(), Opcode::LeafTriangles::GetTriangleIndex(), Opcode::BaseModel::HasLeafNodes(), Opcode::BaseModel::HasSingleNode(), i, Opcode::Collider::InitQuery(), Opcode::BaseModel::IsQuantized(), Opcode::VolumeCollider::mCenterCoeff, Opcode::AABBQuantizedTree::mCenterCoeff, Opcode::AABBQuantizedNoLeafTree::mCenterCoeff, Opcode::Collider::mCurrentModel, Opcode::VolumeCollider::mExtentsCoeff, Opcode::AABBQuantizedTree::mExtentsCoeff, Opcode::AABBQuantizedNoLeafTree::mExtentsCoeff, Opcode::Collider::mFlags, Opcode::Collider::mIMesh, Opcode::PlanesCollider::mNbPlanes, Opcode::VolumeCollider::mTouchedPrimitives, Opcode::OPC_CONTACT, Opcode::OPC_NO_PRIMITIVE_TESTS, PLANES_PRIM, Container::Reset(), Opcode::Collider::Setup(), and Opcode::VolumeCache::TouchedPrimitives.
533 if(!
Setup(&model))
return false;
536 if(
InitQuery(cache, planes, nb_planes, worldm))
return true;
557 udword PlaneMask = (1<<nb_planes)-1;
635 udword TriangleIndex = *T++;
646 udword TriangleIndex = BaseIndex++;