Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Animator Class Reference
[Scene Graph]

#include <lvt/Animator.h>

Inheritance diagram for Animator:

Inheritance graph
[legend]
List of all members.

Detailed Description

Abstract base class for animating portions of a scene graph.


Public Member Functions

virtual bool Animate (unsigned int dTime)=0
 Default animation handling.
float GetSpeed () const
 Returns the current animation speed.
virtual void Render ()=0
 Renders the Animator.
void SetSpeed (float speed)
 Sets the speed of the animation.
virtual ~Animator ()
 Destructor.
 Animator ()
 Constructors.


Constructor & Destructor Documentation

Animator  ) 
 

Constructors.

virtual ~Animator  )  [virtual]
 

Destructor.


Member Function Documentation

virtual bool Animate unsigned int  dTime  )  [pure virtual]
 

Default animation handling.

Does internal bookkeeping and records the current animation time.

Reimplemented from Node.

Implemented in Rotator, and Shuttle.

float GetSpeed  )  const [inline]
 

Returns the current animation speed.

virtual void Render  )  [pure virtual]
 

Renders the Animator.

An Animator does not actually cause anything to be drawn, but instead the Render() function modifies the modelview matrix to represent the current position or state of the Animator.

Implements Node.

Implemented in Rotator, and Shuttle.

void SetSpeed float  speed  )  [inline]
 

Sets the speed of the animation.

Parameters:
speed the animator's new speed.
The units of speed vary depending upon the specific animator, typically units per second, or degrees per second.


Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1