Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <Opcode.h>
Public Member Functions | |
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 |
Protected Member Functions | |
void | _Dump (const AABBCollisionNode *node) |
void | _Dump (const AABBNoLeafNode *node) |
void | _Dump (const AABBQuantizedNode *node) |
void | _Dump (const AABBQuantizedNoLeafNode *node) |
override (Collider) inline_ void InitQuery() | |
inline_ BOOL | IsCacheValid (VolumeCache &cache) |
![]() | |
inline_ BOOL | Setup (const BaseModel *model) |
virtual inline_ void | InitQuery () |
Protected Attributes | |
Container * | mTouchedPrimitives |
List of touched primitives. More... | |
Point | mCenterCoeff |
Point | mExtentsCoeff |
udword | mNbVolumeBVTests |
Number of Volume-BV tests. More... | |
udword | mNbVolumePrimTests |
Number of Volume-Primitive tests. More... | |
![]() | |
udword | mFlags |
Bit flags. More... | |
const BaseModel * | mCurrentModel |
Current model for collision query (owner of touched faces) More... | |
const MeshInterface * | mIMesh |
User-defined mesh interface. More... | |
VolumeCollider::VolumeCollider | ( | ) |
Constructor.
Definition at line 40 of file OPC_VolumeCollider.cpp.
|
pure virtual |
Destructor.
Definition at line 52 of file OPC_VolumeCollider.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
Gets the number of touched primitives after a collision query.
Stats: gets the number of Volume-BV overlap tests after a collision query.
Stats: gets the number of Volume-Triangle overlap tests after a collision query.
Gets the list of touched primitives after a collision query.
|
inlineprotected |
Opcode::VolumeCollider::override | ( | Collider | ) | const |
Validates current settings. You should call this method after all the settings / callbacks have been defined for a collider.
|
inlineprotected |
|
protected |
Definition at line 97 of file Opcode.h.
Referenced by Opcode::HybridSphereCollider::Collide(), Opcode::HybridAABBCollider::Collide(), Opcode::HybridLSSCollider::Collide(), Opcode::HybridPlanesCollider::Collide(), and Opcode::HybridOBBCollider::Collide().
|
protected |
Definition at line 98 of file Opcode.h.
Referenced by Opcode::HybridSphereCollider::Collide(), Opcode::HybridAABBCollider::Collide(), Opcode::HybridLSSCollider::Collide(), Opcode::HybridPlanesCollider::Collide(), and Opcode::HybridOBBCollider::Collide().
|
protected |
|
protected |
|
protected |
List of touched primitives.
Definition at line 94 of file Opcode.h.
Referenced by Opcode::HybridSphereCollider::Collide(), Opcode::HybridAABBCollider::Collide(), Opcode::HybridLSSCollider::Collide(), Opcode::HybridPlanesCollider::Collide(), and Opcode::HybridOBBCollider::Collide().