Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

OpenCAL::RotationTimeTrack Class Reference

#include <RotationTimeTrack.h>

Inheritance diagram for OpenCAL::RotationTimeTrack:

Inheritance graph
[legend]
Collaboration diagram for OpenCAL::RotationTimeTrack:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RotationTimeTrack (KeyFrameSystem *keyFrameSystem, Quaternion *rotation)
void addKeyFrame (float time, const Quaternion &value)
void addKeyFrame (float time, const Vector3 &axis, float angle)
void deleteKeyFrame (float time)
void apply ()

Protected Types

typedef map< float, Quaternion > KeyFrameMap

Protected Attributes

Quaternion * m_rotation
KeyFrameMap m_keyFrames

Detailed Description

This is an implementation of a time track that can interpolate through rotations represented by unit quaternions, using spherical linear interpolation (slerp)

Definition at line 36 of file RotationTimeTrack.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:27 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8