#include <Animation.h>
Collaboration diagram for Animation:
Public Members | |||
![]() | ![]() | Bool | ParseAnimFile (StrConst filename) |
![]() | ![]() | Parse animation file. More... | |
![]() | ![]() | Void | DumpAvars (GCLReal time, Int frame) |
![]() | ![]() | Void | SetAvarList (scAvarList *avarList, scCamera *itsCamera, GCLReal time) |
![]() | ![]() | Void | AddKey (StrConst avarName, GCLReal time, GCLReal value, GCLReal velIn = kAutoVel, GCLReal velOut = kAutoVel) |
![]() | ![]() | GCLReal | GetValue (StrConst avarName, GCLReal time) |
![]() | ![]() | IntHash | avarNames |
![]() | ![]() | AnimRecList | avarRecs |
![]() | ![]() | GCLReal | length |
![]() | ![]() | Int | quiet |
![]() | ![]() | Int | addDash |
![]() | ![]() | StrConst | tag |
![]() | ![]() | IndexList | avarMap |
Definition at line 50 of file Animation.h.
Void Animation::AddKey (StrConst avarName, GCLReal time, GCLReal value, GCLReal velIn = kAutoVel, GCLReal velOut = kAutoVel) |
Definition at line 205 of file Animation.cc.
Void Animation::DumpAvars (GCLReal time, Int frame) |
Definition at line 142 of file Animation.cc.
GCLReal Animation::GetValue (StrConst avarName, GCLReal time) |
Definition at line 157 of file Animation.cc.
Bool Animation::ParseAnimFile (StrConst filename) |
Parse animation file.
Expected format for parser: wavefront-like t <time> set time: expected to be monotonic! dt <delta time> set time as delta from last set time. v|vi|vo <avar name> [<velocity> | auto] set velocity in, velocity out, or both at once. the auto keyword means calculate the velocity automatically. k <avar name> <value> set avar value at the current time with current velocities
Definition at line 241 of file Animation.cc.
Void Animation::SetAvarList (scAvarList * avarList, scCamera * itsCamera, GCLReal time) |
Definition at line 177 of file Animation.cc.
Int Animation::addDash |
Definition at line 69 of file Animation.h.
IndexList Animation::avarMap |
Definition at line 71 of file Animation.h.
IntHash Animation::avarNames |
Definition at line 65 of file Animation.h.
AnimRecList Animation::avarRecs |
Definition at line 66 of file Animation.h.
GCLReal Animation::length |
Definition at line 67 of file Animation.h.
Int Animation::quiet |
Definition at line 68 of file Animation.h.
StrConst Animation::tag |
Definition at line 70 of file Animation.h.