#include <OPC_PlanesCollider.h>
Protected Attributes | |
hrp::CollisionPairInserterBase * | collisionPairInserter |
udword | mNbPlanes |
Plane * | mPlanes |
VertexPointers | mVP |
Protected Attributes inherited from VolumeCollider | |
Point | mCenterCoeff |
Point | mExtentsCoeff |
udword | mNbVolumeBVTests |
Number of Volume-BV tests. More... | |
udword | mNbVolumePrimTests |
Number of Volume-Primitive tests. More... | |
Container * | mTouchedPrimitives |
List of touched primitives. More... | |
Protected Attributes inherited from Collider | |
const BaseModel * | mCurrentModel |
Current model for collision query (owner of touched faces) More... | |
udword | mFlags |
Bit flags. More... | |
const MeshInterface * | mIMesh |
User-defined mesh interface. More... | |
Contains a Planes-vs-tree collider.
Definition at line 30 of file OPC_PlanesCollider.h.
PlanesCollider::PlanesCollider | ( | ) |
Constructor.
Definition at line 58 of file OPC_PlanesCollider.cpp.
|
virtual |
Destructor.
Definition at line 70 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for normal AABB trees.
node | [in] current collision node |
Definition at line 277 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for no-leaf AABB trees.
node | [in] current collision node |
Definition at line 403 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for quantized AABB trees.
node | [in] current collision node |
Definition at line 335 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for quantized no-leaf AABB trees.
node | [in] current collision node |
Definition at line 451 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for normal AABB trees.
node | [in] current collision node |
Definition at line 306 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for no-leaf AABB trees.
node | [in] current collision node |
Definition at line 427 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for quantized AABB trees.
node | [in] current collision node |
Definition at line 369 of file OPC_PlanesCollider.cpp.
|
protected |
Recursive collision query for quantized no-leaf AABB trees.
node | [in] current collision node |
Definition at line 480 of file OPC_PlanesCollider.cpp.
|
inline |
Definition at line 59 of file OPC_PlanesCollider.h.
bool PlanesCollider::Collide | ( | PlanesCache & | cache, |
const Plane * | planes, | ||
udword | nb_planes, | ||
const Model & | model, | ||
const Matrix4x4 * | worldm = null |
||
) |
Generic collision query for generic OPCODE models. After the call, access the results:
cache | [in/out] a planes cache |
planes | [in] list of planes in world space |
nb_planes | [in] number of planes |
model | [in] Opcode model to collide with |
worldm | [in] model's world matrix, or null |
Definition at line 104 of file OPC_PlanesCollider.cpp.
|
protected |
Initializes a collision query :
cache | [in/out] a planes cache |
planes | [in] list of planes |
nb_planes | [in] number of planes |
worldm | [in] model's world matrix, or null |
Definition at line 178 of file OPC_PlanesCollider.cpp.
PlanesCollider::override | ( | Collider | ) | const |
Validates current settings. You should call this method after all the settings and callbacks have been defined for a collider.
|
protected |
Planes-AABB overlap test.
center | [in] box center |
extents | [in] box extents |
out_clip_mask | [out] bitmask for active planes |
in_clip_mask | [in] bitmask for active planes |
Definition at line 14 of file OPC_PlanesAABBOverlap.h.
Planes-triangle overlap test.
in_clip_mask | [in] bitmask for active planes |
Definition at line 11 of file OPC_PlanesTriOverlap.h.
|
inline |
Definition at line 37 of file OPC_PlanesCollider.h.
|
protected |
Definition at line 91 of file OPC_PlanesCollider.h.
|
protected |
Definition at line 93 of file OPC_PlanesCollider.h.
|
protected |
Definition at line 94 of file OPC_PlanesCollider.h.
|
protected |
Definition at line 96 of file OPC_PlanesCollider.h.