OpenWalnut
1.5.0dev
|
Provides a comfortable zoomer lens. More...
Public Member Functions | |
Zoomer (double time, double startTime, double factor, double speed) | |
Zooms the scene with the given factor. More... | |
Public Member Functions inherited from Transformation | |
virtual double | finish () const |
The time in seconds when this transformation is finished. More... | |
virtual double | duration () const |
The time in seconds this transformation is running. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Transformation | |
static WVector3d | axeX = WVector3d( 1.0, 0.0, 0.0 ) |
Vector representing the X axe. More... | |
static WVector3d | axeY = WVector3d( 0.0, 1.0, 0.0 ) |
Vector representing the Y axe. More... | |
static WVector3d | axeZ = WVector3d( 0.0, 0.0, 1.0 ) |
Vector representing the Z axe. More... | |
Protected Attributes inherited from Transformation | |
double | m_finishTime |
The time this is finished. More... | |
double | m_duration |
Duration time. More... | |
Provides a comfortable zoomer lens.
Definition at line 260 of file WGEAnimationManipulator.cpp.
|
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.
time | current time |
startTime | when to start the transformation |
factor | zooming factor. |
speed | the speed in zoom / second |
Definition at line 272 of file WGEAnimationManipulator.cpp.
References Transformation::m_duration, and Transformation::m_finishTime.