OpenWalnut  1.4.0
Public Member Functions
Rotator Class Reference

Provides a time dependent rotation around a specified axis. More...

+ Inheritance diagram for Rotator:

List of all members.

Public Member Functions

 Rotator (double time, double startTime, WVector3d axes, double degree, double speed)
 Create a rotation matrix which rotates a certain number of degree with a given speed.

Detailed Description

Provides a time dependent rotation around a specified axis.

Definition at line 233 of file WGEAnimationManipulator.cpp.


Constructor & Destructor Documentation

Rotator::Rotator ( double  time,
double  startTime,
WVector3d  axes,
double  degree,
double  speed 
) [inline]

Create a rotation matrix which rotates a certain number of degree with a given speed.

This means, that the time interval is defined by speed and degree.

Parameters:
degreerotate this number of degree
speedrotation speed in degree per second
timecurrent time in seconds
startTimetime offset. When to start rotation
axesthe axes to rotate
Returns:
the rotation matrix at the current time.

Definition at line 248 of file WGEAnimationManipulator.cpp.

References Transformation::m_duration, and Transformation::m_finishTime.


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