Classes | |
class | DG_CLIPPED_FACE_EDGE |
class | dgCollisionConvexPolygon |
class | dgGetVertexListIndexList |
Public Member Functions | |
dgCollisionMesh (dgMemoryAllocator *const allocator, dgCollisionID type) | |
dgCollisionMesh (dgWorld *const world, dgDeserialize deserialization, void *const userData) | |
void | SetCollisionCallback (dgCollisionMeshCollisionCallback debugCallback) |
virtual void * | GetUserData () const |
virtual dgFloat32 | GetVolume () const |
virtual dgFloat32 | GetBoxMinRadius () const |
virtual dgFloat32 | GetBoxMaxRadius () const |
virtual void | CalculateInertia (dgVector &inertia, dgVector &origin) const |
virtual void | GetVertexListIndexList (const dgVector &p0, const dgVector &p1, dgGetVertexListIndexList &data) const =0 |
virtual void | GetCollidingFaces (dgPolygonMeshDesc *const data) const =0 |
virtual void | GetCollidingFacesSimd (dgPolygonMeshDesc *const data) const =0 |
dgCollisionMeshCollisionCallback | GetDebugCollisionCallback () const |
Public Member Functions inherited from dgCollision | |
const dgMatrix & | GetOffsetMatrix () const |
void | SetOffsetMatrix (const dgMatrix &matrix) |
dgCollisionID | GetCollisionPrimityType () const |
dgUnsigned32 | SetUserDataID () const |
void | SetUserDataID (dgUnsigned32 userData) |
dgInt32 | IsType (RTTI type) const |
virtual void | SetUserData (void *const userData) |
virtual bool | IsEdgeIntersection () const |
virtual void | SerializeLow (dgSerialize callback, void *const userData) const |
dgUnsigned32 | GetSignature () const |
virtual dgMatrix | ModifierGetMatrix () const |
virtual void | ModifierSetMatrix (const dgMatrix &matrix) |
virtual bool | IsTriggerVolume () const |
virtual void | SetAsTriggerVolume (bool mode) |
virtual void | SetBreakImpulse (dgFloat32 force) |
virtual dgFloat32 | GetBreakImpulse () const |
dgCollision * | AddRef () |
virtual dgInt32 | Release () |
dgInt32 | GetRefCount () const |
dgMemoryAllocator * | GetAllocator () const |
Public Attributes | |
DG_MSC_VECTOR_ALIGMENT class dgCollisionMesh::dgGetVertexListIndexList | DG_GCC_VECTOR_ALIGMENT |
dgCollisionMesh::dgCollisionConvexPolygon | DG_GCC_VECTOR_ALIGMENT |
Protected Member Functions | |
virtual void | SetCollisionBBox (const dgVector &p0, const dgVector &p1) |
Protected Member Functions inherited from dgCollision | |
dgCollision (dgMemoryAllocator *const allocator, dgUnsigned32 signature, const dgMatrix &matrix, dgCollisionID id) | |
dgCollision (dgWorld *const world, dgDeserialize deserialization, void *const userData) | |
void | SetSignature (dgInt32 signature) |
Protected Attributes | |
dgVector | m_boxSize |
dgVector | m_boxOrigin |
dgMemoryAllocator * | m_allocator |
dgCollisionMeshCollisionCallback | m_debugCallback |
dgCollisionConvexPolygon * | m_polygon [DG_MAXIMUN_THREADS] |
Protected Attributes inherited from dgCollision | |
dgMatrix | m_offset |
dgMemoryAllocator * | m_allocator |
dgInt32 | m_rtti |
dgInt32 | m_refCount |
dgUnsigned32 | m_userDataID |
dgUnsigned32 | m_signature |
dgCollisionID | m_collsionId |
Additional Inherited Members | |
Public Types inherited from dgCollision | |
enum | RTTI { dgCollisionNull_RTTI = 1 << 0, dgCollisionBox_RTTI = 1 << 1, dgCollisionCone_RTTI = 1 << 2, dgCollisionSphere_RTTI = 1 << 3, dgCollisionEllipse_RTTI = 1 << 4, dgCollisionCapsule_RTTI = 1 << 5, dgCollisionCylinder_RTTI = 1 << 6, dgCollisionConvexHull_RTTI = 1 << 7, dgCollisionChamferCylinder_RTTI = 1 << 8, dgCollisionConvexModifier_RTTI = 1 << 9, dgCollisionConvexPolygon_RTTI = 1 << 10, dgConvexCollision_RTTI = 1 << 11, dgCollisionCompound_RTTI = 1 << 12, dgCollisionBVH_RTTI = 1 << 13, dgCollisionMesh_RTTI = 1 << 14, dgCollisionUserMesh_RTTI = 1 << 15, dgCollisionHeightField_RTTI = 1 << 16, dgCollisionScene_RTTI = 1 << 17, dgCollisionCompoundBreakable_RTTI = 1 << 18 } |
Static Public Member Functions inherited from dgCollision | |
static dgUnsigned32 | Quantize (dgFloat32 value) |
static dgUnsigned32 | MakeCRC (void *buffer, int size) |