OpenWalnut  1.4.0
Public Member Functions
Translator Class Reference

Provides a time-dependent translation. More...

+ Inheritance diagram for Translator:

List of all members.

Public Member Functions

 Translator (double time, double startTime, WVector3d direction, double speed)
 Translates the scene using the given direction.

Detailed Description

Provides a time-dependent translation.

Definition at line 306 of file WGEAnimationManipulator.cpp.


Constructor & Destructor Documentation

Translator::Translator ( double  time,
double  startTime,
WVector3d  direction,
double  speed 
) [inline]

Translates the scene using the given direction.

The speed is given as units per second.

Parameters:
timecurrent time
startTimethe time when to start the transformation
directionthe direction. Length is important here.
speedspeed in direction-vector per second

Definition at line 317 of file WGEAnimationManipulator.cpp.

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


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