22 #if !defined(AFX_DGCOLLISIONSCENE_H_INCLUDED_) 23 #define AFX_DGCOLLISIONSCENE_H_INCLUDED_ 25 #include "dgCollision.h" 26 #include "dgCollisionMesh.h" 27 #include "dgContact.h" 33 DG_CLASS_ALLOCATOR(allocator)
40 dgFloat32 m_surfaceArea;
45 } DG_GCC_VECTOR_ALIGMENT;
49 DG_CLASS_ALLOCATOR(allocator)
65 void *GetFirstProxy()
const;
66 void *GetNextProxy(
void *
const proxy)
const;
68 void SetProxyUserData(
void *
const proxy,
void *
const userData);
69 void *GetProxyUserData(
void *
const proxy)
const;
70 void RemoveProxy(
void *
const proxy);
71 void ImproveTotalFitness();
73 dgMatrix GetProxyMatrix(
void *
const proxy);
74 void SetProxyMatrix(
void *
const proxy,
const dgMatrix &matrix);
79 void SetCollisionCallback(dgCollisionMeshCollisionCallback debugCallback);
87 virtual void DebugCollision(
const dgMatrix &matrix, OnDebugCollisionMeshCallback callback,
void *
const userData)
const;
88 virtual dgFloat32 RayCast(
const dgVector &localP0,
const dgVector &localP1,
dgContactPoint &contactOut, OnRayPrecastAction preFilter,
const dgBody *
const body,
void *
const userData)
const;
89 virtual dgFloat32 RayCastSimd(
const dgVector &localP0,
const dgVector &localP1,
dgContactPoint &contactOut, OnRayPrecastAction preFilter,
const dgBody *
const body,
void *
const userData)
const;
90 virtual dgFloat32 GetVolume()
const;
92 virtual dgInt32 CalculateSignature()
const;
93 virtual dgFloat32 GetBoxMinRadius()
const;
94 virtual dgFloat32 GetBoxMaxRadius()
const;
97 virtual dgVector CalculateVolumeIntegral(
const dgMatrix &globalMatrix, GetBuoyancyPlane bouyancyPlane,
void *
const context)
const;
100 virtual void Serialize(dgSerialize callback,
void *
const userData)
const;
102 void ImproveNodeFitness(
dgNode *
const node);
Definition: dgCollision.h:73
Definition: dgVector.h:86
Definition: dgCollisionScene.h:29
Definition: dgCollisionConvex.h:39
Definition: dgCollisionScene.h:47
Definition: dgCollision.h:178
Definition: dgMatrix.h:41
Definition: dgWorld.h:118
Definition: dgCollisionScene.h:31
Definition: dgContact.h:53
Definition: dgContact.h:102