ScummVM API documentation
dgCollisionHeightField Class Reference
Inheritance diagram for dgCollisionHeightField:
dgCollisionMesh dgCollision

Public Member Functions

 dgCollisionHeightField (dgWorld *const world, dgInt32 width, dgInt32 height, dgInt32 contructionMode, const dgUnsigned16 *const elevationMap, const dgInt8 *const atributeMap, dgFloat32 horizontalScale, dgFloat32 vertcalScale)
 
 dgCollisionHeightField (dgWorld *const world, dgDeserialize deserialization, void *const userData)
 
void SetCollisionRayCastCallback (dgCollisionHeightFieldRayCastCallback rayCastCallback)
 
dgCollisionHeightFieldRayCastCallback GetDebugRayCastCallback () const
 
- Public Member Functions inherited from dgCollisionMesh
 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
 
dgCollisionMeshCollisionCallback GetDebugCollisionCallback () const
 
- Public Member Functions inherited from dgCollision
const dgMatrixGetOffsetMatrix () 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
 
dgCollisionAddRef ()
 
virtual dgInt32 Release ()
 
dgInt32 GetRefCount () const
 
dgMemoryAllocatorGetAllocator () const
 

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)
 
- Public Attributes inherited from dgCollisionMesh
DG_MSC_VECTOR_ALIGMENT class dgCollisionMesh::dgGetVertexListIndexList DG_GCC_VECTOR_ALIGMENT
 
dgCollisionMesh::dgCollisionConvexPolygon DG_GCC_VECTOR_ALIGMENT
 
- Protected Member Functions inherited from dgCollisionMesh
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 inherited from dgCollisionMesh
dgVector m_boxSize
 
dgVector m_boxOrigin
 
dgMemoryAllocatorm_allocator
 
dgCollisionMeshCollisionCallback m_debugCallback
 
dgCollisionConvexPolygonm_polygon [DG_MAXIMUN_THREADS]
 
- Protected Attributes inherited from dgCollision
dgMatrix m_offset
 
dgMemoryAllocatorm_allocator
 
dgInt32 m_rtti
 
dgInt32 m_refCount
 
dgUnsigned32 m_userDataID
 
dgUnsigned32 m_signature
 
dgCollisionID m_collsionId
 

The documentation for this class was generated from the following file: