Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ThingAnimMesh Class Reference

Thing for animated meshes. More...

#include <ThingAnimMesh.h>

Inherits ThingMesh.

Inheritance diagram for ThingAnimMesh:

Inheritance graph
[legend]
Collaboration diagram for ThingAnimMesh:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThingAnimMesh (void)
 constructor
virtual ~ThingAnimMesh (void)
 destructor
void startAnim ()
void stopAnim ()
void playAnimation (bool playAnim)
 play or stop the animation
void jumpToFrame (int frameNumber)
void playFromToFrame (int startFrame, int endFrame)
void setFrameRate (float newFrameRate)
 set the frame rate for the animation
void init ()
 write corresponding openGL code for init(), load model
void render ()
 write corresponding openGL code to render the model

Private Attributes

bool stop
bool play
float frameRate

Detailed Description

Thing for animated meshes.

allows the display and control over animated meshes, extends ThingMesh


Constructor & Destructor Documentation

ThingAnimMesh::ThingAnimMesh void   ) 
 

constructor

ThingAnimMesh::~ThingAnimMesh void   )  [virtual]
 

destructor


Member Function Documentation

void ThingAnimMesh::init  )  [virtual]
 

write corresponding openGL code for init(), load model

Reimplemented from ThingMesh.

void ThingAnimMesh::jumpToFrame int  frameNumber  ) 
 

void ThingAnimMesh::playAnimation bool  playAnim  ) 
 

play or stop the animation

Parameters:
true-play animation, false otherwise

Reimplemented from ThingMesh.

void ThingAnimMesh::playFromToFrame int  startFrame,
int  endFrame
 

void ThingAnimMesh::render  )  [virtual]
 

write corresponding openGL code to render the model

Reimplemented from ThingMesh.

void ThingAnimMesh::setFrameRate float  newFrameRate  ) 
 

set the frame rate for the animation

Parameters:
desired framerate

void ThingAnimMesh::startAnim  )  [inline]
 

Reimplemented from ThingMesh.

void ThingAnimMesh::stopAnim  )  [inline]
 

Reimplemented from ThingMesh.


Member Data Documentation

float ThingAnimMesh::frameRate [private]
 

bool ThingAnimMesh::play [private]
 

bool ThingAnimMesh::stop [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 17:42:33 2005 for Loud and Proud by doxygen 1.3.8