KWin
|
A single 1D motion dynamics object. More...
#include <motionmanager.h>
Public Member Functions | |
Motion1D (double initial=0.0, double strength=0.08, double smoothness=4.0) | |
Motion1D (const Motion1D &other) | |
~Motion1D () | |
![]() | |
Motion (double initial, double strength, double smoothness) | |
Motion (const Motion< double > &other) | |
~Motion () | |
double | value () const |
void | setValue (const double value) |
double | target () const |
void | setTarget (const double target) |
double | velocity () const |
void | setVelocity (const double velocity) |
double | strength () const |
void | setStrength (const double strength) |
double | smoothness () const |
void | setSmoothness (const double smoothness) |
double | startValue () |
double | distance () const |
void | calculate (const int msec) |
void | finish () |
A single 1D motion dynamics object.
This class represents a single object that can be moved around a 1D space. Although it can be used directly by itself it is recommended to use a motion manager instead.
Definition at line 119 of file motionmanager.h.
|
explicit |
Definition at line 18 of file motionmanager.cpp.
KWin::Motion1D::Motion1D | ( | const Motion1D & | other | ) |
Definition at line 23 of file motionmanager.cpp.
KWin::Motion1D::~Motion1D | ( | ) |
Definition at line 28 of file motionmanager.cpp.