WWCOMMON::CYawMotionInterpKey Class Reference

#include <CYawMotionInterpKey.h>

List of all members.

Public Member Functions

 CYawMotionInterpKey ()
 CYawMotionInterpKey (NLMISC::CVector pos, float yaw, NLMISC::CVector speed, float yawSpeed, double time)
 CYawMotionInterpKey (uint val)
 ~CYawMotionInterpKey ()
CYawMotionInterpKey interpolate (double time, CYawMotionInterpKey &next)
NLMISC::CMatrix getMatrix ()
NLMISC::CVector getPosition () const
float getYaw ()
void setTime (double time)
double getTime ()
void setPosition (NLMISC::CVector pos)
void setYaw (float yaw)
NLMISC::CVector getSpeed ()
void setSpeed (NLMISC::CVector speed)
float getYawSpeed ()
void setYawSpeed (float speed)
NLMISC::CVector getVelocity ()
CYawMotionInterpKeyoperator+= (const CYawMotionInterpKey &rhs)
CYawMotionInterpKeyoperator-= (const CYawMotionInterpKey &rhs)
const CYawMotionInterpKey operator/ (const CYawMotionInterpKey &rhs)

Protected Member Functions

void computeMatrix ()

Protected Attributes

bool m_bMatrixComputed
bool m_bVelocityComputed
NLMISC::CVector m_Velocity
NLMISC::CVector m_Position
NLMISC::CMatrix m_Matrix
NLMISC::CVector m_Speed
float m_Yaw
float m_YawSpeed
double m_Time
float m_Scalar

Detailed Description

Definition at line 54 of file CYawMotionInterpKey.h.


Constructor & Destructor Documentation

WWCOMMON::CYawMotionInterpKey::CYawMotionInterpKey (  ) 

Definition at line 51 of file CYawMotionInterpKey.cpp.

Referenced by interpolate().

WWCOMMON::CYawMotionInterpKey::CYawMotionInterpKey ( NLMISC::CVector  pos,
float  yaw,
NLMISC::CVector  speed,
float  yawSpeed,
double  time 
)

Definition at line 57 of file CYawMotionInterpKey.cpp.

WWCOMMON::CYawMotionInterpKey::CYawMotionInterpKey ( uint  val  ) 

Definition at line 63 of file CYawMotionInterpKey.cpp.

WWCOMMON::CYawMotionInterpKey::~CYawMotionInterpKey (  ) 

Definition at line 69 of file CYawMotionInterpKey.cpp.


Member Function Documentation

void WWCOMMON::CYawMotionInterpKey::computeMatrix (  )  [protected]
NLMISC::CMatrix WWCOMMON::CYawMotionInterpKey::getMatrix (  ) 
NLMISC::CVector WWCOMMON::CYawMotionInterpKey::getPosition (  )  const
NLMISC::CVector WWCOMMON::CYawMotionInterpKey::getSpeed ( void   ) 

Definition at line 93 of file CYawMotionInterpKey.cpp.

References m_Speed.

Referenced by interpolate(), and WWCOMMON::CMotionController::move().

double WWCOMMON::CYawMotionInterpKey::getTime (  )  [inline]

Definition at line 67 of file CYawMotionInterpKey.h.

References m_Time.

Referenced by interpolate(), and WWCOMMON::CMotionController::move().

NLMISC::CVector WWCOMMON::CYawMotionInterpKey::getVelocity (  ) 
float WWCOMMON::CYawMotionInterpKey::getYaw (  ) 

Definition at line 89 of file CYawMotionInterpKey.cpp.

References m_Yaw.

Referenced by interpolate(), and WWCOMMON::CMotionController::move().

float WWCOMMON::CYawMotionInterpKey::getYawSpeed (  ) 

Definition at line 102 of file CYawMotionInterpKey.cpp.

References m_YawSpeed.

Referenced by interpolate(), and WWCOMMON::CMotionController::move().

CYawMotionInterpKey WWCOMMON::CYawMotionInterpKey::interpolate ( double  time,
CYawMotionInterpKey next 
)
CYawMotionInterpKey & WWCOMMON::CYawMotionInterpKey::operator+= ( const CYawMotionInterpKey rhs  ) 
CYawMotionInterpKey & WWCOMMON::CYawMotionInterpKey::operator-= ( const CYawMotionInterpKey rhs  ) 
const CYawMotionInterpKey WWCOMMON::CYawMotionInterpKey::operator/ ( const CYawMotionInterpKey rhs  ) 
void WWCOMMON::CYawMotionInterpKey::setPosition ( NLMISC::CVector  pos  )  [inline]
void WWCOMMON::CYawMotionInterpKey::setSpeed ( NLMISC::CVector  speed  ) 

Definition at line 97 of file CYawMotionInterpKey.cpp.

References m_bVelocityComputed, and m_Speed.

Referenced by WWCOMMON::CMotionController::move().

void WWCOMMON::CYawMotionInterpKey::setTime ( double  time  )  [inline]
void WWCOMMON::CYawMotionInterpKey::setYaw ( float  yaw  ) 
void WWCOMMON::CYawMotionInterpKey::setYawSpeed ( float  speed  ) 

Definition at line 106 of file CYawMotionInterpKey.cpp.

References m_YawSpeed.

Referenced by WWCOMMON::CMotionController::move().


Member Data Documentation

Definition at line 82 of file CYawMotionInterpKey.h.

Referenced by getVelocity(), operator+=(), operator-=(), operator/(), setSpeed(), and setYaw().

Definition at line 88 of file CYawMotionInterpKey.h.

Referenced by computeMatrix(), and getMatrix().

Definition at line 93 of file CYawMotionInterpKey.h.

Referenced by operator/().

Definition at line 92 of file CYawMotionInterpKey.h.

Referenced by getTime(), interpolate(), operator+=(), operator-=(), operator/(), and setTime().

Definition at line 86 of file CYawMotionInterpKey.h.

Referenced by getVelocity().


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

Generated on Mon Jan 11 12:04:40 2010 for Werewolf by  doxygen 1.6.1