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_Fixed Class Reference

#include <Physics_AF.h>

Inheritance diagram for idAFConstraint_Fixed:
idAFConstraint

Public Member Functions

 idAFConstraint_Fixed (const idStr &name, idAFBody *body1, idAFBody *body2)
 
void SetRelativeOrigin (const idVec3 &origin)
 
void SetRelativeAxis (const idMat3 &axis)
 
virtual void SetBody1 (idAFBody *body)
 
virtual void SetBody2 (idAFBody *body)
 
virtual void DebugDraw (void)
 
virtual void Translate (const idVec3 &translation)
 
virtual void Rotate (const idRotation &rotation)
 
virtual void GetCenter (idVec3 &center)
 
virtual void Save (idSaveGame *saveFile) const
 
virtual void Restore (idRestoreGame *saveFile)
 
- 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 GetForce (idAFBody *body, idVec6 &force)
 

Protected Member Functions

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

Protected Attributes

idVec3 offset
 
idMat3 relAxis
 
- 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 154 of file Physics_AF.h.

Constructor & Destructor Documentation

idAFConstraint_Fixed::idAFConstraint_Fixed ( const idStr name,
idAFBody body1,
idAFBody body2 
)

Definition at line 269 of file Physics_AF.cpp.

Member Function Documentation

void idAFConstraint_Fixed::ApplyFriction ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 375 of file Physics_AF.cpp.

void idAFConstraint_Fixed::DebugDraw ( void  )
virtual

Reimplemented from idAFConstraint.

Definition at line 416 of file Physics_AF.cpp.

void idAFConstraint_Fixed::Evaluate ( float  invTimeStep)
protectedvirtual

Reimplemented from idAFConstraint.

Definition at line 333 of file Physics_AF.cpp.

void idAFConstraint_Fixed::GetCenter ( idVec3 center)
virtual

Reimplemented from idAFConstraint.

Definition at line 407 of file Physics_AF.cpp.

void idAFConstraint_Fixed::InitOffset ( void  )
protected

Definition at line 287 of file Physics_AF.cpp.

void idAFConstraint_Fixed::Restore ( idRestoreGame saveFile)
virtual

Reimplemented from idAFConstraint.

Definition at line 444 of file Physics_AF.cpp.

void idAFConstraint_Fixed::Rotate ( const idRotation rotation)
virtual

Reimplemented from idAFConstraint.

Definition at line 395 of file Physics_AF.cpp.

void idAFConstraint_Fixed::Save ( idSaveGame saveFile) const
virtual

Reimplemented from idAFConstraint.

Definition at line 433 of file Physics_AF.cpp.

void idAFConstraint_Fixed::SetBody1 ( idAFBody body)
virtual

Reimplemented from idAFConstraint.

Definition at line 303 of file Physics_AF.cpp.

void idAFConstraint_Fixed::SetBody2 ( idAFBody body)
virtual

Reimplemented from idAFConstraint.

Definition at line 318 of file Physics_AF.cpp.

void idAFConstraint_Fixed::SetRelativeAxis ( const idMat3 axis)
inline

Definition at line 159 of file Physics_AF.h.

void idAFConstraint_Fixed::SetRelativeOrigin ( const idVec3 origin)
inline

Definition at line 158 of file Physics_AF.h.

void idAFConstraint_Fixed::Translate ( const idVec3 translation)
virtual

Reimplemented from idAFConstraint.

Definition at line 384 of file Physics_AF.cpp.

Member Data Documentation

idVec3 idAFConstraint_Fixed::offset
protected

Definition at line 170 of file Physics_AF.h.

idMat3 idAFConstraint_Fixed::relAxis
protected

Definition at line 171 of file Physics_AF.h.


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