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

SplineCorrection Class Reference

#include <correction.h>

Inheritance diagram for SplineCorrection:

Correction List of all members.

Public Member Functions

 SplineCorrection (LPoint3f &, LVector3f &)
virtual ~SplineCorrection (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 A
LPoint3f B
LPoint3f C
LPoint3f D
bool have_both
LPoint3f prev_p
LPoint3f save_p
LVector3f prev_v
LVector3f save_v
float time
float dur

Constructor & Destructor Documentation

SplineCorrection::SplineCorrection LPoint3f &  start,
LVector3f &  s_vel
 

Definition at line 136 of file correction.cxx.

References Correction::_curr_p, Correction::_curr_v, LerpCorrection::dur, and LerpCorrection::time.

SplineCorrection::~SplineCorrection void   )  [virtual]
 

Definition at line 141 of file correction.cxx.

References Correction::_curr_p, and LerpCorrection::time.


Member Function Documentation

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

Reimplemented from Correction.

Definition at line 211 of file correction.cxx.

References time.

float SplineCorrection::get_duration void   )  const
 

Definition at line 227 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 SplineCorrection::new_target LPoint3f &  ,
LVector3f & 
[virtual]
 

Reimplemented from Correction.

Definition at line 163 of file correction.cxx.

References Correction::_curr_v, A, B, C, D, prev_p, prev_v, save_p, and save_v.

void SplineCorrection::set_duration float   ) 
 

Definition at line 223 of file correction.cxx.

void SplineCorrection::step void   )  [virtual]
 

Reimplemented from Correction.

Definition at line 144 of file correction.cxx.

References Correction::_curr_v.


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(), LerpCorrection::~LerpCorrection(), PopCorrection::~PopCorrection(), and ~SplineCorrection().

LVector3f Correction::_curr_v [protected, inherited]
 

Definition at line 31 of file correction.h.

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

LPoint3f SplineCorrection::A [private]
 

Definition at line 74 of file correction.h.

Referenced by new_target().

LPoint3f SplineCorrection::B [private]
 

Definition at line 74 of file correction.h.

Referenced by new_target().

LPoint3f SplineCorrection::C [private]
 

Definition at line 74 of file correction.h.

Referenced by new_target().

LPoint3f SplineCorrection::D [private]
 

Definition at line 74 of file correction.h.

Referenced by new_target().

float SplineCorrection::dur [private]
 

Definition at line 79 of file correction.h.

bool SplineCorrection::have_both [private]
 

Definition at line 75 of file correction.h.

LPoint3f SplineCorrection::prev_p [private]
 

Definition at line 76 of file correction.h.

Referenced by new_target().

LVector3f SplineCorrection::prev_v [private]
 

Definition at line 77 of file correction.h.

Referenced by new_target().

LPoint3f SplineCorrection::save_p [private]
 

Definition at line 76 of file correction.h.

Referenced by new_target().

LVector3f SplineCorrection::save_v [private]
 

Definition at line 77 of file correction.h.

Referenced by new_target().

float SplineCorrection::time [private]
 

Definition at line 78 of file correction.h.

Referenced by force_target().


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