#include <Opcode.h>
Public Member Functions | |
inline_ udword | GetNbTouchedPrimitives () const |
inline_ udword | GetNbVolumeBVTests () const |
inline_ udword | GetNbVolumePrimTests () const |
inline_ const udword * | GetTouchedPrimitives () const |
override (Collider) const char *ValidateSettings() | |
VolumeCollider () | |
virtual | ~VolumeCollider ()=0 |
Protected Member Functions | |
void | _Dump (const AABBCollisionNode *node) |
void | _Dump (const AABBNoLeafNode *node) |
void | _Dump (const AABBQuantizedNode *node) |
void | _Dump (const AABBQuantizedNoLeafNode *node) |
inline_ BOOL | IsCacheValid (VolumeCache &cache) |
override (Collider) inline_ void InitQuery() | |
Protected Attributes | |
Point | mCenterCoeff |
Point | mExtentsCoeff |
udword | mNbVolumeBVTests |
Number of Volume-BV tests. | |
udword | mNbVolumePrimTests |
Number of Volume-Primitive tests. | |
Container * | mTouchedPrimitives |
List of touched primitives. |
Constructor.
Definition at line 40 of file OPC_VolumeCollider.cpp.
VolumeCollider::~VolumeCollider | ( | ) | [pure virtual] |
Destructor.
Definition at line 52 of file OPC_VolumeCollider.cpp.
void Opcode::VolumeCollider::_Dump | ( | const AABBCollisionNode * | node | ) | [protected] |
void Opcode::VolumeCollider::_Dump | ( | const AABBNoLeafNode * | node | ) | [protected] |
void Opcode::VolumeCollider::_Dump | ( | const AABBQuantizedNode * | node | ) | [protected] |
void Opcode::VolumeCollider::_Dump | ( | const AABBQuantizedNoLeafNode * | node | ) | [protected] |
inline_ udword Opcode::VolumeCollider::GetNbTouchedPrimitives | ( | ) | const [inline] |
Gets the number of touched primitives after a collision query.
inline_ udword Opcode::VolumeCollider::GetNbVolumeBVTests | ( | ) | const [inline] |
Stats: gets the number of Volume-BV overlap tests after a collision query.
inline_ udword Opcode::VolumeCollider::GetNbVolumePrimTests | ( | ) | const [inline] |
Stats: gets the number of Volume-Triangle overlap tests after a collision query.
inline_ const udword* Opcode::VolumeCollider::GetTouchedPrimitives | ( | ) | const [inline] |
Gets the list of touched primitives after a collision query.
inline_ BOOL Opcode::VolumeCollider::IsCacheValid | ( | VolumeCache & | cache | ) | [inline, protected] |
Opcode::VolumeCollider::override | ( | Collider | ) | const |
Validates current settings. You should call this method after all the settings / callbacks have been defined for a collider.
Reimplemented in Opcode::PlanesCollider.
Opcode::VolumeCollider::override | ( | Collider | ) | [inline, protected] |
Point Opcode::VolumeCollider::mCenterCoeff [protected] |
Point Opcode::VolumeCollider::mExtentsCoeff [protected] |
udword Opcode::VolumeCollider::mNbVolumeBVTests [protected] |
udword Opcode::VolumeCollider::mNbVolumePrimTests [protected] |
Container* Opcode::VolumeCollider::mTouchedPrimitives [protected] |