Documentation
















  Site Hosted by:

SourceForge.net Logo


Support This Project


ad::Anim Struct Reference

Top animation data structure. More...

#include <animation.h>

Collaboration diagram for ad::Anim:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Anim (std::string filename)
 Loads the animation data from an .ada file.
 ~Anim ()
 Destroy the Anim.

Public Attributes

Hierarchybones
 dynamic instance
unsigned int numFrames
Pose ** frames
 dynamic array of dynamically allocated poses
float fps

Detailed Description

Top animation data structure.

A collection of sampled frames that make up an animation. Also stores the the skeletal hierarchy. This is strictly the data, and contains no information about the playback of the animation. Because of this abstraction, there can be several AnimPlayer instances sharing the data.

See also:
ad::Pose, ad::AnimCacher, ad::AnimPlayer


Constructor & Destructor Documentation

ad::Anim::Anim std::string  filename  ) 
 

Loads the animation data from an .ada file.

Parameters:
filename The path and filename to an ada animation file.

ad::Anim::~Anim  ) 
 

Destroy the Anim.

This will also cause the Hierarchy and the poses for each frame to deconstruct.


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

© Copyright 2005 John Butterfield.
All Rights Reserved.