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

ThingRotAnim Class Reference

#include <ThingRotAnim.h>

Inherits ThingTransform.

Inheritance diagram for ThingRotAnim:

Inheritance graph
[legend]
Collaboration diagram for ThingRotAnim:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThingRotAnim (Motion *mptr)
virtual ~ThingRotAnim (void)
void setStartAngle (float startangle)
void setSpeed (float speed)
void getNextFrame ()
void render ()
 write the corresponding openGL code to the settings in the transform Thing and give the command to render the children of this Thing
void finish ()
 write the corresponding openGL code to reset the setting to before render() (e.g. glPopMatrix()), called in the openGL display()

Private Attributes

MotionmPtr
float angle
float s

Constructor & Destructor Documentation

ThingRotAnim::ThingRotAnim Motion mptr  ) 
 

ThingRotAnim::~ThingRotAnim void   )  [virtual]
 


Member Function Documentation

void ThingRotAnim::finish  )  [virtual]
 

write the corresponding openGL code to reset the setting to before render() (e.g. glPopMatrix()), called in the openGL display()

Reimplemented from ThingTransform.

void ThingRotAnim::getNextFrame  ) 
 

void ThingRotAnim::render  )  [virtual]
 

write the corresponding openGL code to the settings in the transform Thing and give the command to render the children of this Thing

Reimplemented from ThingTransform.

void ThingRotAnim::setSpeed float  speed  ) 
 

void ThingRotAnim::setStartAngle float  startangle  ) 
 


Member Data Documentation

float ThingRotAnim::angle [private]
 

Motion* ThingRotAnim::mPtr [private]
 

float ThingRotAnim::s [private]
 


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