OpenWalnut  1.4.0
Public Member Functions
Zoomer Class Reference

Provides a comfortable zoomer lens. More...

+ Inheritance diagram for Zoomer:

List of all members.

Public Member Functions

 Zoomer (double time, double startTime, double factor, double speed)
 Zooms the scene with the given factor.

Detailed Description

Provides a comfortable zoomer lens.

Definition at line 263 of file WGEAnimationManipulator.cpp.


Constructor & Destructor Documentation

Zoomer::Zoomer ( double  time,
double  startTime,
double  factor,
double  speed 
) [inline]

Zooms the scene with the given factor.

This is a scaling on all axes. A factor < 1.0 is zooming out. A factor > 1.0 is zooming in. Negative values are handled by their absolute value.

Parameters:
timecurrent time
startTimewhen to start the transformation
factorzooming factor.
speedthe speed in zoom / second

Definition at line 275 of file WGEAnimationManipulator.cpp.

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


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