MP4
Stacks and Queues
Public Member Functions | List of all members
animation Class Reference

Animation class—used to create animated images from a sequence of PNG objects as frames of the animation. More...

#include <animation.h>

Public Member Functions

void addFrame (const PNG &img)
 Adds a frame to the animation. More...
 
void write (const std::string &filename)
 Writes the animation to the file name specified. More...
 

Detailed Description

Animation class—used to create animated images from a sequence of PNG objects as frames of the animation.

Author
Jack Toole
Date
Fall 2011

Member Function Documentation

void animation::addFrame ( const PNG img)

Adds a frame to the animation.

Parameters
imgThe image to be added.
void animation::write ( const std::string &  filename)

Writes the animation to the file name specified.

Parameters
filenameThe name of the file to be written to.

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