|
OSG
3.4.0
|
#include <EaseMotion.h>


Public Types | |
| enum | TimeBehaviour { CLAMP, LOOP } |
| typedef float | value_type |
Public Member Functions | |
| Motion (float startValue=0, float duration=1, float changeValue=1, TimeBehaviour tb=CLAMP) | |
| virtual | ~Motion () |
| void | reset () |
| float | getTime () const |
| float | evaluateTime (float time) const |
| void | update (float dt) |
| void | setTime (float time) |
| void | getValue (value_type &result) const |
| value_type | getValue () const |
| void | getValueAt (float time, value_type &result) const |
| value_type | getValueAt (float time) const |
| virtual void | getValueInNormalizedRange (float t, value_type &result) const =0 |
| float | getDuration () const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| bool | getThreadSafeRefUnref () const |
| OpenThreads::Mutex * | getRefMutex () const |
| int | ref () const |
| int | unref () const |
| int | unref_nodelete () const |
| int | referenceCount () const |
| ObserverSet * | getObserverSet () const |
| ObserverSet * | getOrCreateObserverSet () const |
| void | addObserver (Observer *observer) const |
| void | removeObserver (Observer *observer) const |
Protected Attributes | |
| float | _time |
| float | _startValue |
| float | _changeValue |
| float | _duration |
| TimeBehaviour | _behaviour |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Definition at line 347 of file EaseMotion.h.
| typedef float osgAnimation::Motion::value_type |
Definition at line 350 of file EaseMotion.h.
| Enumerator | |
|---|---|
| CLAMP | |
| LOOP | |
Definition at line 351 of file EaseMotion.h.
|
inline |
Definition at line 356 of file EaseMotion.h.
|
inlinevirtual |
Definition at line 357 of file EaseMotion.h.
|
inline |
|
inline |
|
inline |
Definition at line 359 of file EaseMotion.h.
|
inline |
|
inline |
|
inline |
Definition at line 394 of file EaseMotion.h.


|
inline |
|
pure virtual |
Implemented in osgAnimation::CompositeMotion, osgAnimation::SamplerMotionTemplate< T >, and osgAnimation::MathMotionTemplate< T >.

|
inline |
|
inline |
Definition at line 385 of file EaseMotion.h.


|
inline |
|
protected |
Definition at line 414 of file EaseMotion.h.
|
protected |
Definition at line 412 of file EaseMotion.h.
|
protected |
Definition at line 413 of file EaseMotion.h.
|
protected |
Definition at line 411 of file EaseMotion.h.
|
protected |
Definition at line 410 of file EaseMotion.h.
1.8.8