doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
idAFConstraint_Contact Class Reference

#include <Physics_AF.h>

Inheritance diagram for idAFConstraint_Contact:
idAFConstraint

Public Member Functions

 idAFConstraint_Contact (void)
 
 ~idAFConstraint_Contact (void)
 
void Setup (idAFBody *b1, idAFBody *b2, contactInfo_t &c)
 
const contactInfo_tGetContact (void) const
 
virtual void DebugDraw (void)
 
virtual void Translate (const idVec3 &translation)
 
virtual void Rotate (const idRotation &rotation)
 
virtual void GetCenter (idVec3 &center)
 
- Public Member Functions inherited from idAFConstraint
 idAFConstraint (void)
 
virtual ~idAFConstraint (void)
 
constraintType_t GetType (void) const
 
const idStrGetName (void) const
 
idAFBodyGetBody1 (void) const
 
idAFBodyGetBody2 (void) const
 
void SetPhysics (idPhysics_AF *p)
 
const idVecXGetMultiplier (void)
 
virtual void SetBody1 (idAFBody *body)
 
virtual void SetBody2 (idAFBody *body)
 
virtual void GetForce (idAFBody *body, idVec6 &force)
 
virtual void Save (idSaveGame *saveFile) const
 
virtual void Restore (idRestoreGame *saveFile)
 

Protected Member Functions

virtual void Evaluate (float invTimeStep)
 
virtual void ApplyFriction (float invTimeStep)
 
- Protected Member Functions inherited from idAFConstraint
void InitSize (int size)
 

Protected Attributes

contactInfo_t contact
 
idAFConstraint_ContactFrictionfc
 
- Protected Attributes inherited from idAFConstraint
constraintType_t type
 
idStr name
 
idAFBodybody1
 
idAFBodybody2
 
idPhysics_AFphysics
 
idMatX J1
 
idMatX J2
 
idVecX c1
 
idVecX c2
 
idVecX lo
 
idVecX hi
 
idVecX e
 
idAFConstraintboxConstraint
 
int boxIndex [6]
 
idMatX invI
 
idMatX J
 
idVecX s
 
idVecX lm
 
int firstIndex
 
struct
idAFConstraint::constraintFlags_s 
fl
 

Detailed Description

Definition at line 497 of file Physics_AF.h.

Constructor & Destructor Documentation

idAFConstraint_Contact::idAFConstraint_Contact ( void  )

Definition at line 2975 of file Physics_AF.cpp.

idAFConstraint_Contact::~idAFConstraint_Contact ( void  )

Definition at line 2989 of file Physics_AF.cpp.

Member Function Documentation

void idAFConstraint_Contact::ApplyFriction ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 3055 of file Physics_AF.cpp.

void idAFConstraint_Contact::DebugDraw ( void  )
virtual

Reimplemented from idAFConstraint.

Definition at line 3139 of file Physics_AF.cpp.

void idAFConstraint_Contact::Evaluate ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 3046 of file Physics_AF.cpp.

void idAFConstraint_Contact::GetCenter ( idVec3 center)
virtual

Reimplemented from idAFConstraint.

Definition at line 3130 of file Physics_AF.cpp.

const contactInfo_t& idAFConstraint_Contact::GetContact ( void  ) const
inline

Definition at line 503 of file Physics_AF.h.

void idAFConstraint_Contact::Rotate ( const idRotation rotation)
virtual

Reimplemented from idAFConstraint.

Definition at line 3121 of file Physics_AF.cpp.

void idAFConstraint_Contact::Setup ( idAFBody b1,
idAFBody b2,
contactInfo_t c 
)

Definition at line 3000 of file Physics_AF.cpp.

void idAFConstraint_Contact::Translate ( const idVec3 translation)
virtual

Reimplemented from idAFConstraint.

Definition at line 3112 of file Physics_AF.cpp.

Member Data Documentation

contactInfo_t idAFConstraint_Contact::contact
protected

Definition at line 510 of file Physics_AF.h.

idAFConstraint_ContactFriction* idAFConstraint_Contact::fc
protected

Definition at line 511 of file Physics_AF.h.


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