Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LerpCorrection Class Reference

#include <correction.h>

Inheritance diagram for LerpCorrection:

Correction List of all members.

Public Member Functions

 LerpCorrection (LPoint3f &, LVector3f &)
virtual ~LerpCorrection (void)
virtual void step (void)
virtual void new_target (LPoint3f &, LVector3f &)
virtual void force_target (LPoint3f &, LVector3f &)
void set_duration (float)
float get_duration (void) const
LPoint3f get_pos (void) const
LVector3f get_vel (void) const

Protected Attributes

LPoint3f _curr_p
LVector3f _curr_v

Private Attributes

LPoint3f prev_p
LPoint3f save_p
bool have_both
float time
float dur

Constructor & Destructor Documentation

LerpCorrection::LerpCorrection LPoint3f &  start,
LVector3f &  s_vel
 

Definition at line 82 of file correction.cxx.

References dur, and time.

LerpCorrection::~LerpCorrection void   )  [virtual]
 

Definition at line 87 of file correction.cxx.

References Correction::_curr_p, prev_p, save_p, and time.


Member Function Documentation

void LerpCorrection::force_target LPoint3f &  ,
LVector3f & 
[virtual]
 

Reimplemented from Correction.

Definition at line 116 of file correction.cxx.

References dur.

float LerpCorrection::get_duration void   )  const
 

Definition at line 128 of file correction.cxx.

LPoint3f Correction::get_pos void   )  const [inherited]
 

Definition at line 48 of file correction.cxx.

References Correction::_curr_v.

LVector3f Correction::get_vel void   )  const [inherited]
 

Definition at line 52 of file correction.cxx.

void LerpCorrection::new_target LPoint3f &  ,
LVector3f & 
[virtual]
 

Reimplemented from Correction.

Definition at line 101 of file correction.cxx.

void LerpCorrection::set_duration float   ) 
 

Definition at line 124 of file correction.cxx.

void LerpCorrection::step void   )  [virtual]
 

Reimplemented from Correction.

Definition at line 90 of file correction.cxx.


Member Data Documentation

LPoint3f Correction::_curr_p [protected, inherited]
 

Definition at line 30 of file correction.h.

Referenced by Correction::force_target(), PopCorrection::new_target(), SplineCorrection::SplineCorrection(), ~LerpCorrection(), PopCorrection::~PopCorrection(), and SplineCorrection::~SplineCorrection().

LVector3f Correction::_curr_v [protected, inherited]
 

Definition at line 31 of file correction.h.

Referenced by Correction::get_pos(), SplineCorrection::new_target(), SplineCorrection::SplineCorrection(), and SplineCorrection::step().

float LerpCorrection::dur [private]
 

Definition at line 59 of file correction.h.

Referenced by force_target(), LerpCorrection(), and SplineCorrection::SplineCorrection().

bool LerpCorrection::have_both [private]
 

Definition at line 57 of file correction.h.

LPoint3f LerpCorrection::prev_p [private]
 

Definition at line 56 of file correction.h.

Referenced by ~LerpCorrection().

LPoint3f LerpCorrection::save_p [private]
 

Definition at line 56 of file correction.h.

Referenced by ~LerpCorrection().

float LerpCorrection::time [private]
 

Definition at line 58 of file correction.h.

Referenced by LerpCorrection(), SplineCorrection::SplineCorrection(), ~LerpCorrection(), and SplineCorrection::~SplineCorrection().


The documentation for this class was generated from the following files:
Generated on Fri May 2 01:41:04 2003 for Direct by doxygen1.3