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

Animation Class Reference

#include <Animation.h>

Collaboration diagram for Animation:

List of all members.

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

Detailed Description

Definition at line 50 of file Animation.h.

Member Function Documentation

Void Animation::AddKey (StrConst avarName, GCLReal time, GCLReal value, GCLReal velIn = kAutoVel, GCLReal velOut = kAutoVel)

Definition at line 205 of file

Void Animation::DumpAvars (GCLReal time, Int frame)

Definition at line 142 of file

GCLReal Animation::GetValue (StrConst avarName, GCLReal time)

Definition at line 157 of file

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

Void Animation::SetAvarList (scAvarList * avarList, scCamera * itsCamera, GCLReal time)

Definition at line 177 of file

Member Data Documentation

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.

The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:17:05 2000 for Graphics Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000