#include <OPC_VolumeCollider.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. |
Contains the abstract class for volume colliders.
Definition at line 32 of file OPC_VolumeCollider.h.
virtual VolumeCollider::~VolumeCollider | ( | ) | [pure virtual] |
void VolumeCollider::_Dump | ( | const AABBCollisionNode * | node | ) | [protected] |
void VolumeCollider::_Dump | ( | const AABBNoLeafNode * | node | ) | [protected] |
void VolumeCollider::_Dump | ( | const AABBQuantizedNode * | node | ) | [protected] |
void VolumeCollider::_Dump | ( | const AABBQuantizedNoLeafNode * | node | ) | [protected] |
inline_ udword VolumeCollider::GetNbTouchedPrimitives | ( | ) | const [inline] |
Gets the number of touched primitives after a collision query.
Definition at line 49 of file OPC_VolumeCollider.h.
inline_ udword VolumeCollider::GetNbVolumeBVTests | ( | ) | const [inline] |
Stats: gets the number of Volume-BV overlap tests after a collision query.
Definition at line 70 of file OPC_VolumeCollider.h.
inline_ udword VolumeCollider::GetNbVolumePrimTests | ( | ) | const [inline] |
Stats: gets the number of Volume-Triangle overlap tests after a collision query.
Definition at line 79 of file OPC_VolumeCollider.h.
inline_ const udword* VolumeCollider::GetTouchedPrimitives | ( | ) | const [inline] |
Gets the list of touched primitives after a collision query.
Definition at line 59 of file OPC_VolumeCollider.h.
inline_ BOOL VolumeCollider::IsCacheValid | ( | VolumeCache & | cache | ) | [inline, protected] |
Definition at line 120 of file OPC_VolumeCollider.h.
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 PlanesCollider.
VolumeCollider::override | ( | Collider | ) | [inline, protected] |
Initializes a query
Definition at line 112 of file OPC_VolumeCollider.h.
Point VolumeCollider::mCenterCoeff [protected] |
Definition at line 96 of file OPC_VolumeCollider.h.
Point VolumeCollider::mExtentsCoeff [protected] |
Definition at line 97 of file OPC_VolumeCollider.h.
udword VolumeCollider::mNbVolumeBVTests [protected] |
Number of Volume-BV tests.
Definition at line 99 of file OPC_VolumeCollider.h.
udword VolumeCollider::mNbVolumePrimTests [protected] |
Number of Volume-Primitive tests.
Definition at line 100 of file OPC_VolumeCollider.h.
Container* VolumeCollider::mTouchedPrimitives [protected] |
List of touched primitives.
Definition at line 93 of file OPC_VolumeCollider.h.